Getting connection timeout in OCCI

I need to check the connection if Oracle :: OCCI :: Connection, and how can I get and set the connection timeout value? I read the Oracle OCCI documentation, but I can not find the necessary functions.

Thanks at Advance.

+3
source share
2 answers

Check out this document: http://www.terralib.org/html/v410/classoracle_1_1occi_1_1_connection_pool.html

Here you can see

  • virtual unsigned int getTimeOut () const = 0
  • and
  • virtual void setTimeOut (unsigned int connTimeOut = 0) = 0

functions.

0
source

setTimeout() oracle::occi::ConnectionPool, Oracle::OCCI::Connection. - , .

...

+1

Source: https://habr.com/ru/post/1719207/


All Articles