Subject weird exception
Author Stanislav Mironov
Hello All!

What could be the reason for that weird exception?

org.firebirdsql.jdbc.FBSQLException: You cannot getAutomcommit on an
unassociated closed connection.
at
org.firebirdsql.jdbc.AbstractConnection.getAutoCommit(AbstractConnection.java:344)
at
org.firebirdsql.jdbc.AbstractConnection.willEndTransaction(AbstractConnection.java:861)
at
org.firebirdsql.jdbc.AbstractConnection.checkEndTransaction(AbstractConnection.java:869)
at
org.firebirdsql.jdbc.AbstractConnection.checkEndTransaction(AbstractConnection.java:865)
at
org.firebirdsql.jdbc.AbstractPreparedStatement.executeQuery(AbstractPreparedStatement.java:120)
at com.mypkg.MyClass(MyClass.java:155)
at java.lang.Thread.run(Unknown Source)

The code at line 155 is:
final ResultSet rs = ps.executeQuery();

Jaybird 1.5.3 for jdk 1.4

--
Stanislav Mironov