Commit Graph

3850 Commits

Author SHA1 Message Date
Donald Woods 89ed13599e null out EMF to help GC
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027708 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:47:27 +00:00
Donald Woods 0baa453c37 have test close EM
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027706 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 19:46:42 +00:00
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
Donald Woods f3b0fd45e4 OPENJPA-1844 Update build to find jconsole.jar on MacOSX
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027257 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 20:23:54 +00:00
Jeremy Bauer c9bad3efcd OPENJPA-1853 Modified DB2Dictionary to disable auto retrieval of generated keys on iSeries V5R4 and earlier.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027250 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 20:03:01 +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
Richard G. Curtis 2ab51d77a6 OPENJPA-1844: Fix line length in DataCacheTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027195 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 17:00:31 +00:00
Richard G. Curtis ae1e715248 OPENJPA-1844: Localize user facing strings.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 16:46:03 +00:00
Richard G. Curtis c8a5f3d91b OPENJPA-1844: Fix TestJMXPlatformMBeans.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027180 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 16:07:44 +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
Michael Dick d54088a365 OPENJPA-1847: Use one connection to create schema objects.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026183 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:09:57 +00:00
Michael Dick 189e0ed2e3 OPENJPA-1844: remove test for classNames() which isn't quite working.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026146 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 21:31:58 +00:00
Richard G. Curtis b41714a859 OPENJPA-1844: Fix TestJMXPlatformMBeans.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026086 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 17:58:46 +00:00
Michael Dick 93e28fc3ac OPENJPA-1844: setting eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026052 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 16:13:55 +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 7919d9c675 OPENJPA-1848 finish test comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1025765 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 21:21:42 +00:00
Donald Woods 53d73cc4fd OPENJPA-1848 Update openjpa-integration-daytrader to perform user tasks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1025762 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 21:20:23 +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
Michael Dick 005a18a739 OPENJPA-1841: Use length() function to determine BLOB/CLOB nullity for Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024340 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 17:57:04 +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
Donald Woods 0f5c5291ae some testcase cleanup of closing EMs and EMFs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023905 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:03:57 +00:00
Donald Woods b0af48eb8f don't build javadocs for examples
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023904 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:03:19 +00:00
Michael Dick f9cfbbfe2c OPENJPA-1840: handle query timeouts with Sybase - SQLState JZ006:JZ0TO
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023838 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:11:30 +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 d99e1dff36 OPENJPA-1838: allow FKs to be added when using Sybase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023351 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:52:21 +00:00
Donald Woods 2414c88960 OPENJPA-1764 Doc updates for the new Commons DBCP based connection pooling support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1023114 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 21:13:31 +00:00