Class MysqlSavepoint
java.lang.Object
com.mysql.jdbc.MysqlSavepoint
- All Implemented Interfaces:
Savepoint
-
Constructor Summary
ConstructorsConstructorDescriptionMysqlSavepoint(ExceptionInterceptor exceptionInterceptor) Creates an unnamed savepoint.MysqlSavepoint(String name, ExceptionInterceptor exceptionInterceptor) Creates a named savepoint -
Method Summary
-
Constructor Details
-
MysqlSavepoint
MysqlSavepoint(ExceptionInterceptor exceptionInterceptor) throws SQLException Creates an unnamed savepoint.- Parameters:
conn-- Throws:
SQLException- if an error occurs
-
MysqlSavepoint
MysqlSavepoint(String name, ExceptionInterceptor exceptionInterceptor) throws SQLException Creates a named savepoint- Parameters:
name- the name of the savepoint.- Throws:
SQLException- if name == null or is empty.
-
-
Method Details
-
getSavepointId
- Specified by:
getSavepointIdin interfaceSavepoint- Throws:
SQLException- See Also:
-
getSavepointName
- Specified by:
getSavepointNamein interfaceSavepoint- Throws:
SQLException- See Also:
-