Class Connection.MariaDbSavepoint

java.lang.Object
org.mariadb.jdbc.Connection.MariaDbSavepoint
All Implemented Interfaces:
Savepoint
Enclosing class:
Connection

class Connection.MariaDbSavepoint extends Object implements Savepoint
Internal Savepoint implementation
  • Field Details

  • Constructor Details

    • MariaDbSavepoint

      public MariaDbSavepoint(String name)
    • MariaDbSavepoint

      public MariaDbSavepoint(int savepointId)
  • Method Details

    • getSavepointId

      public int getSavepointId() throws SQLException
      Retrieves the generated ID for the savepoint that this Savepoint object represents.
      Specified by:
      getSavepointId in interface Savepoint
      Returns:
      the numeric ID of this savepoint
      Throws:
      SQLException
    • getSavepointName

      public String getSavepointName() throws SQLException
      Retrieves the name of the savepoint that this Savepoint object represents.
      Specified by:
      getSavepointName in interface Savepoint
      Returns:
      the name of this savepoint
      Throws:
      SQLException
    • rawValue

      public String rawValue()