Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connection pool is returning null when the DB connection idle time is over.

Mathew Abraham Mathew -User644198-OracleJan 13 2011 — edited Jan 14 2011
Hi All,
I use a OJDBC6.jar for connection pooling. My Oracle user has an idle time and after idle time, when I try to get a connection, the connection is returned as null. Is there a way to get an exception or a message that the idle time is over, so that I can have a retry logic. Null is very generic and I cannot go with an inference that the idle time is over.

Thanks
Mathew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2011
Added on Jan 13 2011
9 comments
2,115 views