Package org.mariadb.jdbc
Class Connection.MariaDbSavepoint
- java.lang.Object
-
- org.mariadb.jdbc.Connection.MariaDbSavepoint
-
- All Implemented Interfaces:
java.sql.Savepoint
- Enclosing class:
- Connection
class Connection.MariaDbSavepoint extends java.lang.Object implements java.sql.Savepoint
Internal Savepoint implementation
-
-
Constructor Summary
Constructors Constructor Description MariaDbSavepoint(int savepointId)
MariaDbSavepoint(java.lang.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.java.lang.String
getSavepointName()
Retrieves the name of the savepoint that thisSavepoint
object represents.java.lang.String
rawValue()
-
-
-
Method Detail
-
getSavepointId
public int getSavepointId() throws java.sql.SQLException
Retrieves the generated ID for the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointId
in interfacejava.sql.Savepoint
- Returns:
- the numeric ID of this savepoint
- Throws:
java.sql.SQLException
-
getSavepointName
public java.lang.String getSavepointName() throws java.sql.SQLException
Retrieves the name of the savepoint that thisSavepoint
object represents.- Specified by:
getSavepointName
in interfacejava.sql.Savepoint
- Returns:
- the name of this savepoint
- Throws:
java.sql.SQLException
-
rawValue
public java.lang.String rawValue()
-
-