Class SQLServerSavepoint

  • All Implemented Interfaces:
    ISQLServerSavepoint, java.io.Serializable, java.sql.Savepoint

    public final class SQLServerSavepoint
    extends java.lang.Object
    implements ISQLServerSavepoint
    Provides an implementation of JDBC Interface java.sql.Savepoint. A savepoint is checkpoint to which a transaction can be rolled back. Savepoints are defined relative to a connection.

    The API javadoc for JDBC API methods that this class implements are not repeated here. Please see Sun's JDBC API interfaces javadoc for those details.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLabel()
      Returns the savepoint label
      int getSavepointId()  
      java.lang.String getSavepointName()
      Returns the savepoint name
      boolean isNamed()
      Returns if the savepoint label is null
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SQLServerSavepoint

        public SQLServerSavepoint​(SQLServerConnection con,
                                  java.lang.String sName)
        Constructs a SQLServerSavepoint.
        Parameters:
        con - the connection
        sName - the savepoint name