Home
last modified time | relevance | path

Searched refs:TransactionalObject (Results 1 – 8 of 8) sorted by relevance

/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DManagedLocalTransactionsAcrossRequestTest.java63 injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleTransaction()
83 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in testSimpleTransactionWithMerge()
110 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in disabled_testSimpleTransactionWithMergeAndDF()
121 Object result = injector.getInstance(TransactionalObject.class).find(UNIQUE_TEXT_MERGE_FORDF); in disabled_testSimpleTransactionWithMergeAndDF()
135 injector.getInstance(TransactionalObject.class).runOperationInTxnThrowingChecked(); in testSimpleTransactionRollbackOnChecked()
159 injector.getInstance(TransactionalObject.class).runOperationInTxnThrowingUnchecked(); in testSimpleTransactionRollbackOnUnchecked()
179 public static class TransactionalObject { class in ManagedLocalTransactionsAcrossRequestTest
183 public TransactionalObject(EntityManager em) { in TransactionalObject() method in ManagedLocalTransactionsAcrossRequestTest.TransactionalObject
DManagedLocalTransactionsTest.java60 injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleTransaction()
77 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in testSimpleTransactionWithMerge()
98 injector.getInstance(TransactionalObject.class).runOperationInTxnThrowingChecked(); in testSimpleTransactionRollbackOnChecked()
120 injector.getInstance(TransactionalObject.class).runOperationInTxnThrowingUnchecked(); in testSimpleTransactionRollbackOnUnchecked()
138 public static class TransactionalObject { class in ManagedLocalTransactionsTest
142 public TransactionalObject(EntityManager em) { in TransactionalObject() method in ManagedLocalTransactionsTest.TransactionalObject
DJoiningLocalTransactionsTest.java62 injector.getInstance(JoiningLocalTransactionsTest.TransactionalObject.class) in testSimpleTransaction()
82 injector.getInstance(JoiningLocalTransactionsTest.TransactionalObject.class) in testSimpleTransactionRollbackOnChecked()
105 injector.getInstance(JoiningLocalTransactionsTest.TransactionalObject.class) in testSimpleTransactionRollbackOnUnchecked()
124 public static class TransactionalObject { class in JoiningLocalTransactionsTest
128 public TransactionalObject(EntityManager em) { in TransactionalObject() method in JoiningLocalTransactionsTest.TransactionalObject
DManualLocalTransactionsWithCustomMatcherTest.java66 .getInstance(ManualLocalTransactionsWithCustomMatcherTest.TransactionalObject.class) in testSimpleCrossTxnWork()
68 injector.getInstance(ManualLocalTransactionsWithCustomMatcherTest.TransactionalObject.class) in testSimpleCrossTxnWork()
88 public static class TransactionalObject { class in ManualLocalTransactionsWithCustomMatcherTest
DManualLocalTransactionsTest.java62 JpaTestEntity entity = injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleCrossTxnWork()
63 injector.getInstance(TransactionalObject.class).runOperationInTxn2(); in testSimpleCrossTxnWork()
85 public static class TransactionalObject { class in ManualLocalTransactionsTest
DManualLocalTransactionsConfidenceTest.java60 injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testThrowingCleanupInterceptorConfidence()
76 public static class TransactionalObject { class in ManualLocalTransactionsConfidenceTest
DJpaWorkManagerTest.java64 injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testWorkManagerInSession()
103 public static class TransactionalObject { class in JpaWorkManagerTest
DClassLevelManagedLocalTransactionsTest.java63 injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleTransaction()
150 public static class TransactionalObject { class in ClassLevelManagedLocalTransactionsTest