Class MariaDbSavepoint

  • All Implemented Interfaces:
    java.sql.Savepoint

    public class MariaDbSavepoint
    extends java.lang.Object
    implements java.sql.Savepoint
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      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 this Savepoint object represents.
      java.lang.String getSavepointName()
      Retrieves the name of the savepoint that this Savepoint object represents.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        private final java.lang.String name
    • Constructor Detail

      • MariaDbSavepoint

        public MariaDbSavepoint​(java.lang.String name)
    • Method Detail

      • getSavepointId

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

        public java.lang.String getSavepointName()
        Retrieves the name of the savepoint that this Savepoint object represents.
        Specified by:
        getSavepointName in interface java.sql.Savepoint
        Returns:
        the name of this savepoint
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object