Package org.apache.batchee.container.services.persistence.jpa.provider

## Class DefaultTransactionProvider

- java.lang.Object
- - org.apache.batchee.container.services.persistence.jpa.provider.DefaultTransactionProvider

- All Implemented Interfaces:
    `TransactionProvider`

      public class DefaultTransactionProvider
      extends Object
      implements TransactionProvider

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultTransactionProvider()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `commit​(Object o)` |
    `void` | `init​(Properties batchConfig)` |
    `void` | `rollback​(Object tx, Exception e)` |
    `Object` | `start​(javax.persistence.EntityManager em)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultTransactionProvider

          public DefaultTransactionProvider()

  - ### Method Detail

    - #### start

          public Object start​(javax.persistence.EntityManager em)

      Specified by:
        `start` in interface `TransactionProvider`

    - #### commit

          public void commit​(Object o)

      Specified by:
        `commit` in interface `TransactionProvider`

    - #### rollback

          public void rollback​(Object tx,
                               Exception e)

      Specified by:
        `rollback` in interface `TransactionProvider`

    - #### init

          public void init​(Properties batchConfig)

      Specified by:
        `init` in interface `TransactionProvider`