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