Package org.mariadb.jdbc
Class MariaDbSavepoint
- java.lang.Object
-
- org.mariadb.jdbc.MariaDbSavepoint
-
-
Constructor Summary
Constructors Constructor Description MariaDbSavepoint(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.StringgetSavepointName()Retrieves the name of the savepoint that thisSavepointobject represents.StringtoString()
-
-
-
Constructor Detail
-
MariaDbSavepoint
public MariaDbSavepoint(String name)
-
-
Method Detail
-
getSavepointId
public int getSavepointId() throws SQLExceptionRetrieves the generated ID for the savepoint that thisSavepointobject represents.- Specified by:
getSavepointIdin interfaceSavepoint- Returns:
- the numeric ID of this savepoint
- Throws:
SQLException
-
getSavepointName
public String getSavepointName()
Retrieves the name of the savepoint that thisSavepointobject represents.- Specified by:
getSavepointNamein interfaceSavepoint- Returns:
- the name of this savepoint
-
-