Searched refs:JpaTestEntity (Results 1 – 13 of 13) sorted by relevance
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
D | ManagedLocalTransactionsAcrossRequestTest.java | 73 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 …]
|
D | ManagedLocalTransactionsTest.java | 70 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()
|
D | ClassLevelManagedLocalTransactionsTest.java | 76 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()
|
D | JpaWorkManagerTest.java | 80 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()
|
D | JoiningLocalTransactionsTest.java | 74 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()
|
D | ManualLocalTransactionsWithCustomMatcherTest.java | 65 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()
|
D | ManualLocalTransactionsTest.java | 62 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()
|
D | JpaParentTestEntity.java | 37 private List<JpaTestEntity> children = new ArrayList<JpaTestEntity>(); 50 public List<JpaTestEntity> getChildren() { in getChildren() 54 public void setChildren(List<JpaTestEntity> children) { in setChildren()
|
D | EntityManagerPerRequestProvisionTest.java | 61 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn() 81 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn2()
|
D | EntityManagerProvisionTest.java | 56 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn() 76 JpaTestEntity te = new JpaTestEntity(); in testEntityManagerLifecyclePerTxn2()
|
D | DynamicFinderTest.java | 61 JpaTestEntity te = new JpaTestEntity(); in testDynamicFinderListAll() 70 List<JpaTestEntity> list = injector.getInstance(JpaFinder.class).listAll(); in testDynamicFinderListAll() 79 public List<JpaTestEntity> listAll(); in listAll()
|
D | JpaTestEntity.java | 25 public class JpaTestEntity { class 55 JpaTestEntity that = (JpaTestEntity) o; in equals()
|
D | ManualLocalTransactionsConfidenceTest.java | 82 JpaTestEntity child = new JpaTestEntity(); in runOperationInTxn()
|