Interface UnitOfWork.TransactionHandler

Enclosing interface:
UnitOfWork

public static interface UnitOfWork.TransactionHandler
Allows committing or rolling back the current transaction, immediately beginning a new one.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Commits the current transaction and begins a new one.
    void
    Rolls the current transaction back and begins a new one.
  • Method Details

    • commit

      void commit()
      Commits the current transaction and begins a new one.
    • rollback

      void rollback()
      Rolls the current transaction back and begins a new one.