Fix for #44

The JDBCStateRepository should manually commit the transaction
if auto-commit is disabled for the connection