public void begin() throws NotSupportedException, SystemException { btm.begin(); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JPA resource-local transaction"); // TODO: translate exceptions that occur into the correct JTA exception try { getDelegate().begin(); getSynchronizations().afterTransactionBegin(); } catch (RuntimeException re) { throw re; } }
public void begin() throws NotSupportedException, SystemException { ejbContext.getUserTransaction().begin(); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { ejbContext.getUserTransaction().begin(); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JTA transaction"); delegate.begin(); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JTA transaction"); delegate.begin(); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JPA resource-local transaction"); //TODO: translate exceptions that occur into the correct JTA exception assertNotActive(); initEntityManager(); try { getDelegate().begin(); getSynchronizations().afterTransactionBegin(); } catch (RuntimeException re) { clearEntityManager(); throw re; } }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning Spring transaction"); if (TransactionSynchronizationManager.isActualTransactionActive()) { throw new NotSupportedException("A Spring transaction is already active."); } currentTransaction = getPlatformTransactionManagerRequired().getTransaction(definition); getSynchronizations().afterTransactionBegin(); }
public void begin() throws NotSupportedException, SystemException { log.debug("beginning JPA resource-local transaction"); // TODO: translate exceptions that occur into the correct JTA exception try { getDelegate().begin(); getSynchronizations().afterTransactionBegin(); // use hibernate to manage the synchronizations // that way even if the user commits the transaction // themselves they will still be handled getDelegate().registerSynchronization(this); synchronizationRegistered = true; } catch (RuntimeException re) { throw re; } }