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()
74 session.getTransaction().commit(); in testSimpleTransaction()
91 session.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
94 session.getTransaction().begin(); in testSimpleTransactionRollbackOnChecked()
98 session.getTransaction().commit(); in testSimpleTransactionRollbackOnChecked()
114 session.getTransaction().isActive()); in testSimpleTransactionRollbackOnCheckedExcepting()
117 session.getTransaction().begin(); in testSimpleTransactionRollbackOnCheckedExcepting()
121 session.getTransaction().commit(); in testSimpleTransactionRollbackOnCheckedExcepting()
136 session.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
[all …]
DManagedLocalTransactionsAcrossRequestTest.java66 assertFalse(em.getTransaction().isActive()); in testSimpleTransaction()
89 assertFalse(em.getTransaction().isActive()); in testSimpleTransactionWithMerge()
114 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in disabled_testSimpleTransactionWithMergeAndDF()
144 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
167 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
DManagedLocalTransactionsTest.java63 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in testSimpleTransaction()
81 assertFalse("txn was not closed by transactional service", em.getTransaction().isActive()); in testSimpleTransactionWithMerge()
107 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
128 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
DJoiningLocalTransactionsTest.java67 em.getTransaction().isActive()); in testSimpleTransaction()
92 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnChecked()
114 em.getTransaction().isActive()); in testSimpleTransactionRollbackOnUnchecked()
DJpaWorkManagerTest.java71 injector.getInstance(EntityManager.class).getTransaction().begin(); in testWorkManagerInSession()
87 injector.getInstance(EntityManager.class).getTransaction().commit(); in testWorkManagerInSession()
DEntityManagerPerRequestProvisionTest.java109 assertTrue("no active txn!", em.getTransaction().isActive()); in persist()
DEntityManagerProvisionTest.java104 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.java61 if (em.getTransaction().isActive()) { in invoke()
65 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