Subject | weird exception |
---|---|
Author | Stanislav Mironov |
Post date | 2004-10-23T11:22:18Z |
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
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