
com.github.risedragon.mysql.Transaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-mysqlclient Show documentation
Show all versions of spring-mysqlclient Show documentation
A very simple/efficient Mysql Client Framework
The newest version!
package com.github.risedragon.mysql;
import java.sql.SQLException;
import java.sql.Savepoint;
/**
* The connection transaction interface
*
* @author hezhaowu
* @since 0.9.1
*/
public interface Transaction extends MysqlClient {
void commit() throws SQLException;
void rollback() throws SQLException;
void rollback(Savepoint savepoint) throws SQLException;
Savepoint setSavepoint() throws SQLException;
Savepoint setSavepoint(String name) throws SQLException;
void releaseSavepoint(Savepoint savepoint) throws SQLException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy