Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • 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
Marshal
Posts: 34095
337
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic