This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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
internet detective

Joined: May 26, 2003
Posts: 30123

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

[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
It is sorta covered in the JavaRanch Style Guide.
subject: Informix JDBC, setQueryTimeout
Similar Threads
JDBC and Informix driver
getTableName() on ResultSetMetadata
Help!! Error in Connecting Informix using JDBC!
JDBC ODBC Bridge Question
JDBC returning values using Scientific Notation