wood burning stoves
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Informix JDBC, setQueryTimeout" Watch "Informix JDBC, setQueryTimeout" New topic

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

Joined: May 26, 2003
Posts: 33132

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]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: Informix JDBC, setQueryTimeout
It's not a secret anymore!