Commit Graph

1463 Commits

Author SHA1 Message Date
Donald Woods 36d157b0ec allow tearDown() to cleanup resources
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027698 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:30:39 +00:00
Donald Woods 89fbaf709f some testcase cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027694 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:22:06 +00:00
Donald Woods 5538fd7bb3 testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027686 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:08:55 +00:00
Donald Woods 1058a69afb test should call super.tearDown() for cleanup. also added @AllowFailure to surefire excluded tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027682 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:52:34 +00:00
Donald Woods 065f0e25dc testcase needs to close EMF
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027675 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:33:59 +00:00
Donald Woods d461ba7f5c use common closeEMF() in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027674 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:32:37 +00:00
Donald Woods 73cbad1a16 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027673 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:28:38 +00:00
Donald Woods d62d67fcd9 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027671 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:27:13 +00:00
Donald Woods 226c4731c5 test should call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027670 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 18:25:42 +00:00
Donald Woods 8813afb4b4 tests need to cleanup EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027663 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:38:16 +00:00
Donald Woods aa9f10cdc8 have test call super.tearDown() for cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027660 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:26:26 +00:00
Donald Woods 53da8cce2c test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027639 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:45:15 +00:00
Donald Woods 8510080d45 test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027638 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:40:30 +00:00
Donald Woods ee682d82ab make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027588 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 15:09:32 +00:00
Donald Woods 8556afe921 test cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 14:51:23 +00:00
Albert Lee 48f47fc775 This test only applies to run with Oracle. This test also is not functional; disable until fix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027207 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 17:55:45 +00:00
Albert Lee 206d17bfcf OPENJPA-1415 change GenerateType from IDENTITY to AUTO to fix "ORA-01400: cannot insert NULL into ("SCOTT"."ENTITYD"."ENTITYD_ID")"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026448 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 18:52:03 +00:00
Richard G. Curtis daac0ac086 OPENJPA-1844: Add DataCache JConsole plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 16:01:51 +00:00
Albert Lee 32e0ff48f8 OPENJPA-1849 - eliminate the unnecessary length definition since test uses default mapping from char to int and the length has no bearing to this test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1025814 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 03:01:03 +00:00
Donald Woods de5e7cefe3 only cleanup after all tests are complete due to DB2 performance issues
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024422 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:25:57 +00:00
Donald Woods 0a7e318638 only cleanup after all tests are complete due to DB2 performance issues
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024419 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:25:27 +00:00
Fay Wang 75bbc90899 OPENJPA-1837: fix the MaxEmbeddedLobFieldStrategy when there is limitation of max lob size and when the field is in an embeddable which is contained in an element collection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024306 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:14:51 +00:00
Albert Lee e1a9859689 OPENJPA-1842 - replace @GeneratedValue type from IDENTITY to AUTO.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024093 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 02:31:15 +00:00
Michael Dick 4e3f42e70e OPENJPA-1841: Allow DBDictionary to override IS NULL / IS NOT NULL clause for specific column types.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024039 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:07:41 +00:00
Albert Lee a13842f7ea OPENJPA-1842 - replace @GeneratedValue by simulate entity id auto generation so that test can run for all databases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024034 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 22:00:53 +00:00
Michael Dick c9f56ed822 use DROP_TABLES in IndirectRecursion testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024018 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 21:40:17 +00:00
Michael Dick 578704a848 Ensure consistent order of SQL statements when populating the database in section 10_1_27 testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024016 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 21:39:26 +00:00
Donald Woods 2468de045c help testcases cleanup EMs they created but didn't close
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024002 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 20:47:43 +00:00
Albert Lee fdf58d63ba OPENJPA-1837 - reset Oracle dictionary maxEmbedded*lobSize = -1 for jdbc driver (11.2.0.x) that can handle *lob size > 4000 characters.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023925 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:48:30 +00:00
Catalina Wei 60e88f82fa OPENJPA-1828: Query with expression IN (collection_valued_input_parameter) gives wrong result when executed the second time
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023914 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:30:48 +00:00
Albert Lee 3707cc8b6d Disable SQL log by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023828 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:04:09 +00:00
Michael Dick 2e11a6a90b OPENJPA-1835: add dummy as an invalid column name for Sybase and update testcase to use DBIdentifier to get column name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022960 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 15:00:30 +00:00
Albert Lee 0e9c5e52dd OPENJPA-1764 Fix test cases where finally { closeEMF(emf1) } still required ConnectionDriverName be specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022812 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:36:56 +00:00
Donald Woods c6582b9f2b make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022700 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:48:16 +00:00
Donald Woods 8cafaf9f19 make sure tests cleanup EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022699 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:42:33 +00:00
Donald Woods db1ce09390 more testcase comments about what gets cleaned up and print err msg if an EM or EMF cannot be closed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022698 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:39:11 +00:00
Michael Dick c479f35f68 Update testcases for execution with Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022629 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 17:50:43 +00:00
Albert Lee 3040a2d467 OPENJPA-1764 Per agreement with Donald, change test case skip condition from || to &&.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022609 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 16:42:49 +00:00
Donald Woods 887a7815a8 update testcase comments to denote if EM/EMFs are automatically cleaned up and what parent class it extends.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022301 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 21:40:13 +00:00
Donald Woods dbbb6bf815 make sure tests close EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022292 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 21:13:22 +00:00
Donald Woods ede1ebe30f OPENJPA-1792 Drop JDK5 support starting with OpenJPA 2.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022278 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 20:07:06 +00:00
Donald Woods 1a3d16a013 make sure tests close EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022228 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 18:35:46 +00:00
Donald Woods 71ae858f91 make sure tests close EMs and streams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022222 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 18:15:04 +00:00
Donald Woods ff900d98fe make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022210 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:42:37 +00:00
Donald Woods 172ec292a7 make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022206 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:32:48 +00:00
Donald Woods ebdc670298 migrate testcase from depricated PersistenceTestCase to AbstractPersistenceTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022204 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:32:10 +00:00
Donald Woods 4f06ae4591 make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022198 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:20:30 +00:00
Donald Woods 9f1e9db866 make sure tests close EMs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022193 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:07:36 +00:00
Donald Woods 0f0f01d366 tests were not closing EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022181 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:39:41 +00:00
Donald Woods d32b7da7db update testcase to use AbstractPersistenceTestCase instead of depricated PersistenceTestCase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1022178 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 16:37:20 +00:00