Commit Graph

3868 Commits

Author SHA1 Message Date
Donald Woods 979384e10e fixup license header
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028166 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 01:49:57 +00:00
Pinaki Poddar 91d1eb914b OPENJPA-1851: Few basic tests on JEST (RESTful remote access to OpenJPA runtime)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028146 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 00:36:36 +00:00
Kevin W. Sutter c47965d889 OPENJPA-1851. The @Override was getting flagged as an error in Eclipse's sensitive error checking...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028127 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 22:31:34 +00:00
Richard G. Curtis 61f21099b6 OPENJPA-1858: Cache a reference to MetaDataRepository in BrokerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028114 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 21:53:05 +00:00
Fay Wang c3c97f7cf3 OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:55:00 +00:00
Pinaki Poddar 3f8bff4331 OPENJPA-1851: First version of JEST (REST on OpenJPA)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028093 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:42:44 +00:00
Richard G. Curtis 35b5f8fddc Remove invalid <class> from TestConv persistence.xml to reduce test logging.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028081 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 19:53:19 +00:00
Donald Woods 9e09567ddc skip remaining 2 failing queryTimeout tests for MSSQL2005
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028071 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 18:56:41 +00:00
Richard G. Curtis daa090c11b OPENJPA-1855: Log warning if javax.persistence.cache.retrieve/storeMode is used incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028064 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 18:39:53 +00:00
Donald Woods 47d7b1d778 rollback having closeEMF() perform clear(emf) automatically
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028052 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:56:15 +00:00
Richard G. Curtis 6a12a3c121 OPENJPA-1312: Fix equals method name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:21:15 +00:00
Donald Woods 3b65de0765 OPENJPA-1316 Incorrect hashcode()/equals() implementation(s) in GeneratorImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027992 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 15:01:16 +00:00
Donald Woods dcf503dd5a OPENJPA-1314 Incorrect hashcode()/equals() implementation(s) in QueryResultCacheImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027984 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:50:26 +00:00
Richard G. Curtis 7c377a9043 OPENJPA-1856: Executing bulk updates should evict from DataCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027983 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:47:44 +00:00
Donald Woods 06c1e74358 OPENJPA-1313 Incorrect hashcode()/equals() implementation(s) in RowManagerImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:37:42 +00:00
Donald Woods ce416a8777 OPENJPA-1312 Incorrect hashcode()/equals() implementation(s) in SelectImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027976 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:31:24 +00:00
Donald Woods 57e94f648c OPENJPA-1311 Incorrect hashcode()/equals() implementation(s). Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027731 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:22:27 +00:00
Donald Woods 582e91b867 OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:14:15 +00:00
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