File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read Time Out Problem.
 
Similar Threads
Can't connect to Oracle database
DROP table question
Complex data object returned from oracle
How to specify the name of the database
Pool connection leak error