public void commitTransaction ( ) { log . debug ( "Committing transaction" ) ; assertTxIsActive ( ) ; try { connection . commit ( ) ; } catch ( SQLException sex ) { throw new DbSqlException ( "Commit TX failed" , sex ) ; } finally { closeTx ( ) ; } }
Commit the current transaction writing any unflushed changes to the database . Transaction mode is closed .