public interface BeforeCompletionManagedFlushChecker
Synchronization.beforeCompletion() callback| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldDoManagedFlush(TransactionFactory.Context ctx,
Transaction jtaTransaction)
Check whether we should perform the managed flush
|
boolean shouldDoManagedFlush(TransactionFactory.Context ctx, Transaction jtaTransaction) throws SystemException
ctx - The Hibernate "transaction context"jtaTransaction - The JTA transactionSystemException - Can be thrown while accessing the JTA transaction; will result in transaction being
marked for rollback (best effort).Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved