Class Connection.MariaDbSavepoint
java.lang.Object
org.mariadb.jdbc.Connection.MariaDbSavepoint
- All Implemented Interfaces:
Savepoint
- Enclosing class:
Connection
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves the generated ID for the savepoint that thisSavepointobject represents.Retrieves the name of the savepoint that thisSavepointobject represents.rawValue()
-
Field Details
-
name
-
id
-
-
Constructor Details
-
MariaDbSavepoint
-
MariaDbSavepoint
public MariaDbSavepoint(int savepointId)
-
-
Method Details
-
getSavepointId
Retrieves the generated ID for the savepoint that thisSavepointobject represents.- Specified by:
getSavepointIdin interfaceSavepoint- Returns:
- the numeric ID of this savepoint
- Throws:
SQLException
-
getSavepointName
Retrieves the name of the savepoint that thisSavepointobject represents.- Specified by:
getSavepointNamein interfaceSavepoint- Returns:
- the name of this savepoint
- Throws:
SQLException
-
rawValue
-