Package org.mariadb.jdbc
Class Connection.MariaDbSavepoint
- java.lang.Object
-
- org.mariadb.jdbc.Connection.MariaDbSavepoint
-
- All Implemented Interfaces:
java.sql.Savepoint
- Enclosing class:
- Connection
class Connection.MariaDbSavepoint extends java.lang.Object implements java.sql.SavepointInternal Savepoint implementation
-
-
Constructor Summary
Constructors Constructor Description MariaDbSavepoint(int savepointId)MariaDbSavepoint(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSavepointId()Retrieves the generated ID for the savepoint that thisSavepointobject represents.java.lang.StringgetSavepointName()Retrieves the name of the savepoint that thisSavepointobject represents.java.lang.StringrawValue()
-
-
-
Method Detail
-
getSavepointId
public int getSavepointId() throws java.sql.SQLExceptionRetrieves the generated ID for the savepoint that thisSavepointobject represents.- Specified by:
getSavepointIdin interfacejava.sql.Savepoint- Returns:
- the numeric ID of this savepoint
- Throws:
java.sql.SQLException
-
getSavepointName
public java.lang.String getSavepointName() throws java.sql.SQLExceptionRetrieves the name of the savepoint that thisSavepointobject represents.- Specified by:
getSavepointNamein interfacejava.sql.Savepoint- Returns:
- the name of this savepoint
- Throws:
java.sql.SQLException
-
rawValue
public java.lang.String rawValue()
-
-