Interface TransactionEventListener

    • Method Detail

      • transactionStarted

        void transactionStarted()
        Method invoked when the transaction is started.
      • transactionEnded

        void transactionEnded()
        Method invoked when the transaction is ended (Using XA).
      • transactionPreFlush

        void transactionPreFlush()
        Method invoked just before a flush.
      • transactionFlushed

        void transactionFlushed()
        Method invoked when the transaction is flushed (happens before commit, rollback).
      • transactionPreCommit

        void transactionPreCommit()
        Method invoked before the transaction commit.
      • transactionCommitted

        void transactionCommitted()
        Method invoked when the transaction is committed.
      • transactionPreRollBack

        void transactionPreRollBack()
        Method invoked before the transaction is rolledback.
      • transactionRolledBack

        void transactionRolledBack()
        Method invoked when the transaction is rolled back.
      • transactionSetSavepoint

        void transactionSetSavepoint​(String name)
        Savepoint to be registered under this name. Do nothing if not supported
        Parameters:
        name - Name of the savepoint
      • transactionReleaseSavepoint

        void transactionReleaseSavepoint​(String name)
        Savepoint to be released for this name. Do nothing if not supported
        Parameters:
        name - Name of the savepoint
      • transactionRollbackToSavepoint

        void transactionRollbackToSavepoint​(String name)
        Invoke a rollback to this savepoint name. Do nothing if not supported.
        Parameters:
        name - Name of the savepoint