Package org.mariadb.jdbc
Class Connection.Savepoint
java.lang.Object
org.mariadb.jdbc.Connection.Savepoint
- All Implemented Interfaces:
Savepoint
- Enclosing class:
- Connection
Internal Savepoint implementation
-
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.rawValue()
-
Field Details
-
name
-
id
-
-
Constructor Details
-
Savepoint
-
Savepoint
public Savepoint(int savepointId)
-
-
Method Details
-
getSavepointId
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
Retrieves the name of the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointName
in interfaceSavepoint
- Returns:
- the name of this savepoint
- Throws:
SQLException
-
rawValue
-