4.3. Ending Local Transactions
4.3. Ending Local Transactions Any of the following operations will end a local transaction: Connection.setAutoCommit(true) if previously set to false Connection.commit() Connection.rollback() A transaction will be rolled back automatically if it times out.