Subject | setAutoCommit() throws Exception in JBIRD2.0 |
---|---|
Author | nagypapi |
Post date | 2005-09-08T19:38:50Z |
I'm running my program under java1.5 with jaybird1.55 and FB 1.5.2 SS.
I've changed autocommit mode to false whenever I use more than 1 open
resultsets.
Program still works with JBIRD1.55, but with JBIRD2.0 it throws the
following Exception:
"
java.util.ConcurrentModificationException
at
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
at java.util.AbstractList$Itr.remove(AbstractList.java:434)
at
org.firebirdsql.jdbc.InternalTransactionCoordinator$AbstractTransactionCoordinator.completeStatements(InternalTransactionCoordinator.java:138)
at
org.firebirdsql.jdbc.InternalTransactionCoordinator.setCoordinator(InternalTransactionCoordinator.java:91)
at
org.firebirdsql.jdbc.AbstractConnection.setAutoCommit(AbstractConnection.java:383)
...
"
At the first setAutoCommit(false) in my program.
Is it me, or is it me?
Thanks,
John
I've changed autocommit mode to false whenever I use more than 1 open
resultsets.
Program still works with JBIRD1.55, but with JBIRD2.0 it throws the
following Exception:
"
java.util.ConcurrentModificationException
at
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
at java.util.AbstractList$Itr.remove(AbstractList.java:434)
at
org.firebirdsql.jdbc.InternalTransactionCoordinator$AbstractTransactionCoordinator.completeStatements(InternalTransactionCoordinator.java:138)
at
org.firebirdsql.jdbc.InternalTransactionCoordinator.setCoordinator(InternalTransactionCoordinator.java:91)
at
org.firebirdsql.jdbc.AbstractConnection.setAutoCommit(AbstractConnection.java:383)
...
"
At the first setAutoCommit(false) in my program.
Is it me, or is it me?
Thanks,
John