About Connection.Ping method when Direct Mode

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ysyang99
Posts: 14
Joined: Tue 04 Dec 2012 08:43

About Connection.Ping method when Direct Mode

Post by ysyang99 » Fri 06 Jul 2018 09:08

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

MaximG
Devart Team
Posts: 1158
Joined: Mon 06 Jul 2015 11:34

Re: About Connection.Ping method when Direct Mode

Post by MaximG » Tue 10 Jul 2018 12:01

Please explain what exactly is the inconvenience of implementing the TOCIConnection.Ping method using execute query "Begin Null; End;" ?

Post Reply