Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes Informix JDBC, setQueryTimeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Informix JDBC, setQueryTimeout" Watch "Informix JDBC, setQueryTimeout" New topic
Author

Informix JDBC, setQueryTimeout

Sean Sullivan
Ranch Hand

Joined: Sep 09, 2001
Posts: 427
I am using the Informix Type 4 JDBC driver. The driver version is 3.00.JC2

When I call java.sql.Statement.setQueryTimeout, the Informix JDBC driver throws a java.sql.SQLException

Why does the driver throw a SQLException?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31680
    
189

Sean,
The exception usually contains more details. Try sqlException.printStackTrace() and System.out.println(sqlException.getMessage()) for more details.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Informix JDBC, setQueryTimeout