h2.function.ibmutl001_unlock_transaction.sql Maven / Gradle / Ivy
DROP ALIAS IF EXISTS ibmutl001_unlock_transaction;
CREATE ALIAS ibmutl001_unlock_transaction AS $$
void execute(java.sql.Connection connection) throws Exception {
java.sql.PreparedStatement preparedStatement = connection.prepareStatement("delete from TRANSLOCK where SID = SESSION_ID()");
preparedStatement.execute();
java.sql.PreparedStatement preparedStatementMaster = connection.prepareStatement("delete from TRANSLOCK_MASTER where SID = SESSION_ID()");
preparedStatementMaster.execute();
}
$$;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy