[Netarchivesuite-users] moving of rollbackIfNeeded(...)
Søren Vejrup Carlsen
svc at kb.dk
Fri Feb 4 14:25:19 CET 2011
Hi a.
I believe, that you can ignore this message.
Try, and see, if the database changes hasn't been done anyway.
This is actually a known problem:
https://gforge.statsbiblioteket.dk/tracker/?group_id=7&atid=105&func=detail&aid=1612
Best Regards
Søren
-----Oprindelig meddelelse-----
Fra: netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk [mailto:netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk] På vegne af aponb at gmx.at
Sendt: 4. februar 2011 13:50
Til: NetarchiveSuite-users
Emne: [Netarchivesuite-users] moving of rollbackIfNeeded(...)
Hi!
If have troubles with the executeSQL(...) method in
dk.netarkivet.common.utils.DBUtils.
In the finally block the method rollbackIfNeeded will be called. And
that method calls c.rollback(). That results in a
"com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
Can't call rollback when autocommit=true" - Error of my MySql-JDBC-Driver.
What is the reason for that rollback? Can we move the rollbackIfNeeded
call to the beginning of the catch clause? That would help in my case!
Regards
a.
_______________________________________________
NetarchiveSuite-users mailing list
NetarchiveSuite-users at lists.gforge.statsbiblioteket.dk
https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/netarchivesuite-users
More information about the NetarchiveSuite-users
mailing list