org.apache.olingo.odata2.jpa.processor.api

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `begin()` implement the start of the transaction
    `void` | `commit()` implement the commit of the transaction
    `boolean` | `isActive()` implement status of the transaction context
    `void` | `rollback()` implement the rollback of the transaction

- - ### Method Detail

    - #### 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

Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.