wood burning stoves 2.0*
The moose likes JDBC and the fly likes Read Time Out Problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Read Time Out Problem." Watch "Read Time Out Problem." New topic
Author

Read Time Out Problem.

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi All,

i am using oracle.jdbc.pool.OracleDataSource.setConnectionCacheProperties(java.util.Properties cp)throws java.sql.SQLException

i am setting the connection readtime out for 2 seconds, i am always getting readtime out exception and i am handling it properly.

Problem is after getting read time out exception(SQLException), i am not able to use connection object, if i use connection object it gives SQLException with description as closed connection.

i want to know whether readtime out will affects the connection object.

please reply.

Thanks In Advance,
Bennet Xavier X.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Read Time Out Problem.
 
Similar Threads
DROP table question
Complex data object returned from oracle
How to specify the name of the database
Can't connect to Oracle database
Pool connection leak error