robe-hibernate/src/main/java/io/robe/hibernate/transaction/Transaction.java
public static void exec(TransactionWrapper transactionWrapper, TransactionExceptionHandler exceptionHandler, FlushMode flushMode) {
        checkNotNull(transactionWrapper);
        new Transaction(transactionWrapper, exceptionHandler, flushMode);
    }
public static void exec(TransactionWrapper transactionWrapper, TransactionExceptionHandler exceptionHandler, FlushMode flushMode) {
        checkNotNull(transactionWrapper);
        new Transaction(transactionWrapper, exceptionHandler, flushMode);
    }
Begins new transaction in a new session and performs operations provided in {@link TransactionWrapper} <br/>
In case of an exception is thrown the {@link TransactionExceptionHandler} will be invoked.

@param transactionWrapper {@link TransactionWrapper}
@param exceptionHandler   {@link TransactionExceptionHandler}
@param flushMode          {@link FlushMode}