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 int
getSavepointId()
Retrieves the generated ID for the savepoint that thisSavepoint
object represents.String
getSavepointName()
Retrieves the name of the savepoint that thisSavepoint
object represents.String
toString()
-
-
-
Constructor Detail
-
MariaDbSavepoint
public MariaDbSavepoint(String name)
-
-
Method Detail
-
getSavepointId
public int getSavepointId() throws SQLException
Retrieves the generated ID for the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointId
in interfaceSavepoint
- Returns:
- the numeric ID of this savepoint
- Throws:
SQLException
-
getSavepointName
public String getSavepointName()
Retrieves the name of the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointName
in interfaceSavepoint
- Returns:
- the name of this savepoint
-
-