thank you Pierre, your fix works.

I added a setAutoCommit(true) to the releaseConnection() method.
I think that is more appropriate than adding it to MultiConnection, because now the class that causes the change also resets it.

You put the code in DatabaseStorageManager.releaseActiveConnection() method. Maybe this is more appropriate, but in this way it is still possible that another class returns a connection to the pool with the autocommit set to false. Personally I think that putting the code in MultiConnection.close() or MultiPool.putBack() is more robust.


Regards,
Marco





Reply via email to