Class Connection.Savepoint

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

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

  • Constructor Details

    • Savepoint

      public Savepoint(String name)
    • Savepoint

      public Savepoint(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()