Package org.mariadb.jdbc
Class MariaDbSavepoint
java.lang.Object
org.mariadb.jdbc.MariaDbSavepoint
- All Implemented Interfaces:
Savepoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the generated ID for the savepoint that thisSavepoint
object represents.Retrieves the name of the savepoint that thisSavepoint
object represents.toString()
-
Field Details
-
savepointId
private final int savepointId -
name
-
-
Constructor Details
-
MariaDbSavepoint
-
-
Method Details
-
getSavepointId
public int getSavepointId()Retrieves the generated ID for the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointId
in interfaceSavepoint
- Returns:
- the numeric ID of this savepoint
- Since:
- 1.4
-
getSavepointName
Retrieves the name of the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointName
in interfaceSavepoint
- Returns:
- the name of this savepoint
- Since:
- 1.4
-
toString
-