Page 1 of 1

About Connection.Ping method when Direct Mode

Posted: Fri 06 Jul 2018 09:08
by ysyang99
Hello,

I use ODAC 10.1.4 and Delphi 2009
Connection.Ping call procedure TOCIConnection.Ping of oraClasses.pas file.

if Direct mode, execute query "Begin Null; End;"
Can I do direct socket communication instead of query execution?
Can I provide the OCIPing method like OCI8.OCIPing when Direct mode?

Thanks

Re: About Connection.Ping method when Direct Mode

Posted: Tue 10 Jul 2018 12:01
by MaximG
Please explain what exactly is the inconvenience of implementing the TOCIConnection.Ping method using execute query "Begin Null; End;" ?