Can Unidac use underlying provider method ?
Can Unidac use underlying provider method ?
In MyDac the TMyConnection has the method Ping to keep connection alive. In Unidac the TUniConnection has no such method. Since MyDac is the underlying provider for using MySql for Unidac is there a way to invoke Ping through TUniConnection ?
-
AndreyZ
Re: Can Unidac use underlying provider method ?
Hello,
The Ping method is a MySQL-specific functionality, that is why UniDAC does not have it. You can execute a very fast query instead of pinging your server. Here is an example:
The Ping method is a MySQL-specific functionality, that is why UniDAC does not have it. You can execute a very fast query instead of pinging your server. Here is an example:
Code: Select all
UniConnection.ExecSQL('SELECT NULL', []);