Home
last modified time | relevance | path

Searched refs:getTransaction (Results 1 – 11 of 11) sorted by relevance

/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DClassLevelManagedLocalTransactionsTest.java67 session.getTransaction().isActive()); in testSimpleTransaction()
70 session.getTransaction().begin(); in testSimpleTransaction()
77 session.getTransaction().commit(); in testSimpleTransaction()
97 session.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
100 session.getTransaction().begin(); in testSimpleTransactionRollbackOnChecked()
107 session.getTransaction().commit(); in testSimpleTransactionRollbackOnChecked()
124 session.getTransaction().isActive()); in testSimpleTransactionRollbackOnCheckedExcepting()
127 session.getTransaction().begin(); in testSimpleTransactionRollbackOnCheckedExcepting()
134 session.getTransaction().commit(); in testSimpleTransactionRollbackOnCheckedExcepting()
149 session.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
[all …]
DManagedLocalTransactionsAcrossRequestTest.java61 assertFalse(em.getTransaction().isActive()); in testSimpleTransaction()
87 assertFalse(em.getTransaction().isActive()); in testSimpleTransactionWithMerge()
115 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in disabled_testSimpleTransactionWithMergeAndDF()
147 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
174 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
DManagedLocalTransactionsTest.java58 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in testSimpleTransaction()
80 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in testSimpleTransactionWithMerge()
111 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
136 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
DJoiningLocalTransactionsTest.java62 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in testSimpleTransaction()
93 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
120 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
DJpaWorkManagerTest.java67 injector.getInstance(EntityManager.class).getTransaction().begin(); in testWorkManagerInSession()
87 injector.getInstance(EntityManager.class).getTransaction().commit(); in testWorkManagerInSession()
DEntityManagerPerRequestProvisionTest.java116 assertTrue("no active txn!", em.getTransaction().isActive()); in persist()
DEntityManagerProvisionTest.java110 assertTrue("no active txn!", lastEm.getTransaction().isActive()); in persist()
DDynamicFinderTest.java95 assertTrue("no active txn!", lastEm.getTransaction().isActive()); in persist()
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaLocalTxnInterceptor.java55 if (em.getTransaction().isActive()) { in invoke()
59 final EntityTransaction txn = em.getTransaction(); in invoke()
/external/nist-sip/java/gov/nist/javax/sip/
DSipProviderImpl.java282 if (sipRequest.getTransaction() != null) in getNewClientTransaction()
496 .getTransaction(); in getNewServerTransaction()
543 .getTransaction(); in getNewServerTransaction()
574 .getTransaction(); in getNewServerTransaction()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java1130 public Object getTransaction() { in getTransaction() method in SIPRequest