@Override public boolean isJoinedToTransaction() { return em.isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return em().isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return delegate.isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return em.isJoinedToTransaction(); }
public boolean isJoinedToTransaction () { return m_aEntityMgr.isJoinedToTransaction (); }
@Override public boolean isJoinedToTransaction() { return em.isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return em.isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return entityManager.isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return delegate.isJoinedToTransaction(); }
public boolean isJoinedToTransaction () { return m_aEntityMgr.isJoinedToTransaction (); }
@Override public boolean isJoinedToTransaction() { return entityManager.isJoinedToTransaction(); }
public boolean isJoinedToTransaction() { initEntityManager(); return em.isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return getEmbeddedEntityManager().isJoinedToTransaction(); }
@Override public boolean isJoinedToTransaction() { return getEntityManager().isJoinedToTransaction(); }
public boolean isJoinedToTransaction() { long start = 0; if (isTraceEnabled) start = System.currentTimeMillis(); try { return getEntityManager().isJoinedToTransaction(); } finally { if (isTraceEnabled) { long elapsed = System.currentTimeMillis() - start; ROOT_LOGGER.tracef("isJoinedToTransaction() took %dms", elapsed); } } }
public boolean isJoinedToTransaction() { long start = 0; if (isTraceEnabled) start = System.currentTimeMillis(); try { return getEntityManager().isJoinedToTransaction(); } finally { if (isTraceEnabled) { long elapsed = System.currentTimeMillis() - start; ROOT_LOGGER.tracef("isJoinedToTransaction() took %dms", elapsed); } } }
@Override public boolean isJoinedToTransaction() { final Timer timer = Op.isJoinedToTransaction.start(this.timer, this); try { return synchronizationType == null /* JPA < 2.1 */ || getEntityManager().isJoinedToTransaction(); } finally { timer.stop(); } } }
@Override public void beginTransaction(EntityManager em) { AbstractSession session = JpaHelper.getEntityManagerFactory(em).getDatabaseSession(); session.getExternalTransactionController().beginTransaction(session); // EMs obtained outside the transaction is now prevented from participating or flushing to the trans unless join is called. if (!em.isJoinedToTransaction()) { em.joinTransaction(); } }
@Override public void beginTransaction(EntityManager em) { AbstractSession session = JpaHelper.getEntityManagerFactory(em).getDatabaseSession(); session.getExternalTransactionController().beginTransaction(session); // EMs obtained outside the transaction is now prevented from participating or flushing to the trans unless join is called. if (!em.isJoinedToTransaction()) { em.joinTransaction(); } }
@Override public boolean isJoinedToTransaction() { try { if(callFlowAgent.isEnabled()) { callFlowAgent.entityManagerMethodStart(EntityManagerMethod.IS_JOINED_TO_TRANSACTION); } return _getDelegate().isJoinedToTransaction(); } finally { if(callFlowAgent.isEnabled()) { callFlowAgent.entityManagerMethodEnd(); } } }