Home
last modified time | relevance | path

Searched refs:JpaTestEntity (Results 1 – 13 of 13) sorted by relevance

/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
DManagedLocalTransactionsAcrossRequestTest.java70 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
75 ((JpaTestEntity) result).getText()); in testSimpleTransaction()
81 JpaTestEntity entity = in testSimpleTransactionWithMerge()
100 assertTrue(result instanceof JpaTestEntity); in testSimpleTransactionWithMerge()
105 ((JpaTestEntity) result).getText()); in testSimpleTransactionWithMerge()
111 JpaTestEntity entity = in disabled_testSimpleTransactionWithMergeAndDF()
126 assertTrue(result instanceof JpaTestEntity); in disabled_testSimpleTransactionWithMergeAndDF()
131 ((JpaTestEntity) result).getText()); in disabled_testSimpleTransactionWithMergeAndDF()
199 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
205 public JpaTestEntity runOperationInTxnWithMerge() { in runOperationInTxnWithMerge()
[all …]
DManagedLocalTransactionsTest.java67 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
72 ((JpaTestEntity) result).getText()); in testSimpleTransaction()
76 JpaTestEntity entity = in testSimpleTransactionWithMerge()
91 assertTrue(result instanceof JpaTestEntity); in testSimpleTransactionWithMerge()
96 ((JpaTestEntity) result).getText()); in testSimpleTransactionWithMerge()
159 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
165 public JpaTestEntity runOperationInTxnWithMerge() { in runOperationInTxnWithMerge()
166 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnWithMerge()
173 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingChecked()
182 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUnchecked()
DClassLevelManagedLocalTransactionsTest.java79 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
84 (((JpaTestEntity) result).getText())); in testSimpleTransaction()
170 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
183 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUnchecked()
197 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingCheckedExcepting()
211 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingChecked()
DJoiningLocalTransactionsTest.java71 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
76 ((JpaTestEntity) result).getText()); in testSimpleTransaction()
148 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnInternal()
160 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingCheckedInternal()
174 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUncheckedInternal()
DJpaWorkManagerTest.java78 assertTrue("Unknown type returned " + o.getClass(), o instanceof JpaTestEntity); in testWorkManagerInSession()
79 JpaTestEntity ent = (JpaTestEntity) o; in testWorkManagerInSession()
108 JpaTestEntity testEntity = new JpaTestEntity(); in runOperationInTxn()
117 JpaTestEntity testEntity = new JpaTestEntity(); in runOperationInTxnError()
DManualLocalTransactionsWithCustomMatcherTest.java62 JpaTestEntity entity = in testSimpleCrossTxnWork()
96 public JpaTestEntity runOperationInTxn() { in runOperationInTxn()
97 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
106 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn2()
DManualLocalTransactionsTest.java61 JpaTestEntity entity = injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleCrossTxnWork()
93 public JpaTestEntity runOperationInTxn() { in runOperationInTxn()
94 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
103 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn2()
DEntityManagerPerRequestProvisionTest.java59 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn()
83 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn2()
DEntityManagerProvisionTest.java56 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn()
79 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn2()
DJpaParentTestEntity.java35 private List<JpaTestEntity> children = new ArrayList<>();
48 public List<JpaTestEntity> getChildren() { in getChildren()
52 public void setChildren(List<JpaTestEntity> children) { in setChildren()
DDynamicFinderTest.java60 JpaTestEntity te = new JpaTestEntity(); in testDynamicFinderListAll()
70 List<JpaTestEntity> list = injector.getInstance(JpaFinder.class).listAll(); in testDynamicFinderListAll()
79 public List<JpaTestEntity> listAll(); in listAll()
DJpaTestEntity.java25 public class JpaTestEntity { class
56 JpaTestEntity that = (JpaTestEntity) o; in equals()
DManualLocalTransactionsConfidenceTest.java79 JpaTestEntity child = new JpaTestEntity(); in runOperationInTxn()