Interface ODataJPATransaction

All Superinterfaces:
ODataCallback

public interface ODataJPATransaction extends ODataCallback
Interface for JPA-Transaction abstraction. Default implementation is Resource local, while additional an override may used to insert JTA compatible transactions as well.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    implement the start of the transaction
    void
    implement the commit of the transaction
    boolean
    implement status of the transaction context
    void
    implement the rollback of the transaction
  • Method Details

    • begin

      void begin()
      implement the start of the transaction
    • commit

      void commit()
      implement the commit of the transaction
    • rollback

      void rollback()
      implement the rollback of the transaction
    • isActive

      boolean isActive()
      implement status of the transaction context
      Returns:
      Se ativo