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.java73 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
76 UNIQUE_TEXT, ((JpaTestEntity) result).getText()); in testSimpleTransaction()
83 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in testSimpleTransactionWithMerge()
100 assertTrue(result instanceof JpaTestEntity); in testSimpleTransactionWithMerge()
103 UNIQUE_TEXT_MERGE, ((JpaTestEntity) result).getText()); in testSimpleTransactionWithMerge()
110 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in disabled_testSimpleTransactionWithMergeAndDF()
125 assertTrue(result instanceof JpaTestEntity); in disabled_testSimpleTransactionWithMergeAndDF()
128 UNIQUE_TEXT_MERGE_FORDF, ((JpaTestEntity) result).getText()); in disabled_testSimpleTransactionWithMergeAndDF()
189 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
195 public JpaTestEntity runOperationInTxnWithMerge() { in runOperationInTxnWithMerge()
[all …]
DManagedLocalTransactionsTest.java70 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
73 UNIQUE_TEXT, ((JpaTestEntity) result).getText()); in testSimpleTransaction()
77 JpaTestEntity entity = injector.getInstance(TransactionalObject.class) in testSimpleTransactionWithMerge()
90 assertTrue(result instanceof JpaTestEntity); in testSimpleTransactionWithMerge()
93 UNIQUE_TEXT_MERGE, ((JpaTestEntity) result).getText()); in testSimpleTransactionWithMerge()
148 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
154 public JpaTestEntity runOperationInTxnWithMerge() { in runOperationInTxnWithMerge()
155 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnWithMerge()
162 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingChecked()
171 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUnchecked()
DClassLevelManagedLocalTransactionsTest.java76 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
79 UNIQUE_TEXT, (((JpaTestEntity) result).getText())); in testSimpleTransaction()
155 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
169 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUnchecked()
183 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingCheckedExcepting()
197 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingChecked()
DJpaWorkManagerTest.java80 assertTrue("Unknown type returned " + o.getClass(), o instanceof JpaTestEntity); in testWorkManagerInSession()
81 JpaTestEntity ent = (JpaTestEntity) o; in testWorkManagerInSession()
108 JpaTestEntity testEntity = new JpaTestEntity(); in runOperationInTxn()
117 JpaTestEntity testEntity = new JpaTestEntity(); in runOperationInTxnError()
DJoiningLocalTransactionsTest.java74 assertTrue("odd result returned fatal", result instanceof JpaTestEntity); in testSimpleTransaction()
77 ((JpaTestEntity) result).getText()); in testSimpleTransaction()
139 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnInternal()
151 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingCheckedInternal()
165 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxnThrowingUncheckedInternal()
DManualLocalTransactionsWithCustomMatcherTest.java65 JpaTestEntity entity = injector in testSimpleCrossTxnWork()
92 public JpaTestEntity runOperationInTxn() { in runOperationInTxn()
93 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
102 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn2()
DManualLocalTransactionsTest.java62 JpaTestEntity entity = injector.getInstance(TransactionalObject.class).runOperationInTxn(); in testSimpleCrossTxnWork()
89 public JpaTestEntity runOperationInTxn() { in runOperationInTxn()
90 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn()
99 JpaTestEntity entity = new JpaTestEntity(); in runOperationInTxn2()
DJpaParentTestEntity.java37 private List<JpaTestEntity> children = new ArrayList<JpaTestEntity>();
50 public List<JpaTestEntity> getChildren() { in getChildren()
54 public void setChildren(List<JpaTestEntity> children) { in setChildren()
DEntityManagerPerRequestProvisionTest.java61 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn()
81 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn2()
DEntityManagerProvisionTest.java56 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn()
76 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn2()
DDynamicFinderTest.java61 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
55 JpaTestEntity that = (JpaTestEntity) o; in equals()
DManualLocalTransactionsConfidenceTest.java82 JpaTestEntity child = new JpaTestEntity(); in runOperationInTxn()