public static class HibernateConfiguration.NuxeoHibernateTransaction extends org.hibernate.ejb.transaction.JoinableCMTTransaction
Needed because the sync from org.hibernate.ejb.EntityManagerImpl#close must run before the one from ConnectionHelper.
Constructor and Description |
---|
NuxeoHibernateTransaction(org.hibernate.jdbc.JDBCContext jdbcContext,
org.hibernate.transaction.TransactionFactory.Context transactionContext) |
Modifier and Type | Method and Description |
---|---|
void |
registerSynchronization(Synchronization sync) |
begin, commit, getStatus, isTransactionInProgress, markForJoined, resetStatus
public NuxeoHibernateTransaction(org.hibernate.jdbc.JDBCContext jdbcContext, org.hibernate.transaction.TransactionFactory.Context transactionContext)
public void registerSynchronization(Synchronization sync) throws org.hibernate.HibernateException
registerSynchronization
in interface org.hibernate.Transaction
registerSynchronization
in class org.hibernate.transaction.CMTTransaction
org.hibernate.HibernateException
Copyright © 2015 Nuxeo SA. All rights reserved.