Class AbstractJDBCSavepointManager.ConnectionSavepoint

    • Constructor Detail

      • ConnectionSavepoint

        public ConnectionSavepoint​(Broker broker,
                                   java.lang.String name,
                                   boolean copy)
    • Method Detail

      • getDataStoreSavepoint

        public java.lang.Object getDataStoreSavepoint()
        Return the stored savepoint object
      • setDataStoreSavepoint

        public void setDataStoreSavepoint​(java.lang.Object savepoint)
        Set the implementation specific savepoint object
      • getConnection

        public java.sql.Connection getConnection()
        Return the current Connection for this savepoint.
      • rollback

        public java.util.Collection rollback​(java.util.Collection previous)
        Description copied from class: OpenJPASavepoint
        Handle the rolled back state, returning saved data. Subclasses should return the collection returned from this method.
        Overrides:
        rollback in class OpenJPASavepoint
        Parameters:
        previous - previous savepoints set in the transaction