Class AbstractJDBCSavepointManager.ConnectionSavepoint

    • Constructor Detail

      • ConnectionSavepoint

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

      • getDataStoreSavepoint

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

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

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

        public Collection rollback​(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