Subject | Can't destroy managed connection with active transaction |
---|---|
Author | Robert (Jamie) Munro |
Post date | 2003-05-30T16:04:25Z |
What does this mean?
java.lang.IllegalStateException: Can't destroy managed connection with
active transaction
at
org.firebirdsql.jca.FBManagedConnection.destroy(FBManagedConnection.java:333
)
at
org.firebirdsql.jca.FBStandAloneConnectionManager.connectionErrorOccurred(FB
StandAloneConnectionManager.java:84)
at
org.firebirdsql.jca.FBManagedConnection$2.notify(FBManagedConnection.java:11
21)
at
org.firebirdsql.jca.FBManagedConnection.notify(FBManagedConnection.java:1094
)
at
org.firebirdsql.jca.FBManagedConnection.checkFatal(FBManagedConnection.java:
726)
at
org.firebirdsql.jca.FBManagedConnection.executeStatement(FBManagedConnection
.java:791)
at
org.firebirdsql.jdbc.FBConnection.executeStatement(FBConnection.java:1072)
at org.firebirdsql.jdbc.FBStatement.internalExecute(FBStatement.java:908)
at org.firebirdsql.jdbc.FBStatement.executeUpdate(FBStatement.java:146)
at org.viva.fibre.Exporter.exportPacket(Exporter.java:167)
All I did was this:
Statement stateTemp = dbConn.createStatement();
sql = "UPDATE \"FiBRE$Inserts\" SET \"FirstExport\" = " +
exportID.toString() + " where \"FirstExport\" = 0;";
rowCount = stateTemp.executeUpdate(sql);
Robert Munro
java.lang.IllegalStateException: Can't destroy managed connection with
active transaction
at
org.firebirdsql.jca.FBManagedConnection.destroy(FBManagedConnection.java:333
)
at
org.firebirdsql.jca.FBStandAloneConnectionManager.connectionErrorOccurred(FB
StandAloneConnectionManager.java:84)
at
org.firebirdsql.jca.FBManagedConnection$2.notify(FBManagedConnection.java:11
21)
at
org.firebirdsql.jca.FBManagedConnection.notify(FBManagedConnection.java:1094
)
at
org.firebirdsql.jca.FBManagedConnection.checkFatal(FBManagedConnection.java:
726)
at
org.firebirdsql.jca.FBManagedConnection.executeStatement(FBManagedConnection
.java:791)
at
org.firebirdsql.jdbc.FBConnection.executeStatement(FBConnection.java:1072)
at org.firebirdsql.jdbc.FBStatement.internalExecute(FBStatement.java:908)
at org.firebirdsql.jdbc.FBStatement.executeUpdate(FBStatement.java:146)
at org.viva.fibre.Exporter.exportPacket(Exporter.java:167)
All I did was this:
Statement stateTemp = dbConn.createStatement();
sql = "UPDATE \"FiBRE$Inserts\" SET \"FirstExport\" = " +
exportID.toString() + " where \"FirstExport\" = 0;";
rowCount = stateTemp.executeUpdate(sql);
Robert Munro