• Post Reply Bookmark Topic Watch Topic
  • New Topic

Informix JDBC, setQueryTimeout

 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 36000
422
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sean,
The exception usually contains more details. Try sqlException.printStackTrace() and System.out.println(sqlException.getMessage()) for more details.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!