Commit Graph

2839 Commits

Author SHA1 Message Date
Donald Woods c5954aa4a5 OPENJPA-1116 Update PU name to reflect the test name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818215 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:17:06 +00:00
Donald Woods 85a609aa5d OPENJPA-1116 Annotation Strategy not working. Checking in testcases as code patch already committed in r808703 by Pinaki. Patches contributed by Ashish Paliwal.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818212 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:12:07 +00:00
Donald Woods 2eeca2a8ac OPENJPA-1315 Incorrect hashcode()/equals() implementations in QueryImpl causes NPE in Eclipse debugger. Patch contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818195 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 18:44:44 +00:00
Albert Lee 6485137930 OPENJPA-1323 Enhanced to conform to the new spec requirement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818153 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 16:14:35 +00:00
Jeremy Bauer fbb7e1208a OPENJPA-1325 Defer embeddable population until after class metadata is parsed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818134 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 15:07:31 +00:00
Fay Wang 6f1b9627fe OPENJPA-1253: support non-default bi-directional one-to-many using foreign key strategy to find/query from the ower's side
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817831 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:38:36 +00:00
Jeremy Bauer 01c26a9e21 Updated test code to use mapping tool to regenerate subset of DB artifacts if running on Oracle. This will create the triggers required to support generated identity columns.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817815 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:15:07 +00:00
Michael Dick f1af41c44c OPENJPA-1298:
Remove WriteBehindCallbackManager which 'shared' a single callback with multiple EMFs unintentionally

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817679 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:45:26 +00:00
Richard G. Curtis 4378977891 OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817429 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 21:59:21 +00:00
Fay Wang 19da9769b0 OPENJPA-1253: support non-default uni-directional OneToMany mapping using foreign key strategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817399 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:21:50 +00:00
Donald Woods 828e08ee0e OPENJPA-1182 Backwards compatibility issues - PreUpdate and PostUpdate behavior. Patch contributed by Tim McConnell with some minor package name and version checking changes. Doc updates by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817389 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:01:44 +00:00
Catalina Wei e53f8514f4 OPENJPA-1309 fix testcase for DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817382 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 19:23:25 +00:00
Richard G. Curtis fdd330a116 OPENJPA-1172 - Committing changes to trunk. Patch submitted by Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817370 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 18:51:23 +00:00
Donald Woods abbda7df8e OPENJPA-1319 Incorrect hashcode()/equals() implementations - EntityManagerImpl. Patch contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817273 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 14:43:58 +00:00
Fay Wang 5c23058b0e OPENJPA-1253: support non-default bi-directional one to many using Join Table/Join column annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 02:13:18 +00:00
Fay Wang cf7f69bbd5 OPENJPA-1253: support non-default One-To-Many mappings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816795 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 21:53:47 +00:00
Donald Woods 9467818818 OPENJPA-1310 SQLServer requires JAXB marshalled XML to be in UTF-16 instead of UTF-8. Also updated some of the XmlElement names to match the case used in the XmlType annotation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816767 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 20:06:12 +00:00
Catalina Wei 3f43e3dd0e OPENJPA-1309 DB2 requires CAST for argument passed to datastore MOD function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816737 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 18:38:00 +00:00
Michael Dick 1c0b9849f1 Remove uneeded imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816671 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:33:11 +00:00
Jeremy Bauer 95a2c8f680 Fix SQL comparison failures in Criteria query by example tests on Oracle by using standard sql92 join syntax.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816392 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 21:46:56 +00:00
Donald Woods e5f7d97695 OPENJPA-1178 Doc updates for Compatibility issues. Added JIRA references for those looking for more details...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816366 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 20:12:35 +00:00
Donald Woods ac23a55b68 OPENJPA-1213 Additional Compatibility tests (patch #2) showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816330 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:44:29 +00:00
Michael Dick 846d1ef82a OPENJPA-1173:
Revert driver update (not in repo yet).

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816320 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:31:10 +00:00
Michael Dick 1318f98bc4 OPENJPA-1173:
Updating postgresql test dependency to v8.4-701
Submitted By: Tim McConnell


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816317 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:10:09 +00:00
Donald Woods 7deb821735 OPENJPA-1213 Add section to Migration appendix about Query.setParameter() behavior differences.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816310 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:58:33 +00:00
Donald Woods daadd62bd2 OPENJPA-1213 Use OpenJPAVersion for handling expected test result differences
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816295 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:29:01 +00:00
Donald Woods cbe18c2f74 OPENJPA-1213 Compatibility tests showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816289 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:22:49 +00:00
Jeremy Bauer add24283b4 OPENJPA-1249 Make insertBlobForStreamingLoad method usage consistent for Oracle DB to eliminate NPE in updateBlob path.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816287 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:19:09 +00:00
Michael Dick 1c4a61758a OPENJPA-1305:
Broker used by the WriteBehindCallback should be considered unmanaged.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816275 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 16:52:28 +00:00
Donald Woods 0c3c6c3ba4 OPENJPA-1214 remove subdir
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816271 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 16:44:54 +00:00
Donald Woods a94bb8ee06 OPENJPA-1214 moving testcases to the existing compat package
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816187 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:44:03 +00:00
Fay Wang 8c1e1a7ea5 OPENJPA-1253: support non-default uni-directional OneToMany using foreign key strategy, using JoinColumn annotation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816085 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:49:13 +00:00
Fay Wang 72f2cb8516 OPENJPA-1253: allow JoinColumn in conjunction with OneToMany annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 22:13:26 +00:00
Richard G. Curtis eb5bccdd49 OPENJPA-1149: Add embeddables sample to the examples module. Patch contributed by Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815501 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 21:40:59 +00:00
Jeremy Bauer 8fc1404dad Modify entity definitions to avoid Oracle reserved words.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815473 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 20:38:07 +00:00
Richard G. Curtis eded0dd8fa OPENJPA-1302: Use ContextClassloader in addition to the ProductDeivation's ClassLoader to find/load product derivations. Patch contributed by Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815447 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:56:55 +00:00
Pinaki Poddar 3146afb1bc Persistence attribute type for singular attributes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815396 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 16:59:21 +00:00
Fay Wang a9ea5c1817 OPENJPA-1151: fix test case error for MySQL. DB object in MySQL is case-sensitive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815369 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:38:12 +00:00
Fay Wang c353d0541e OPENJPA-1151: fix this test case error for MySQL. DB object in MySQL is case-sensitive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815366 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:28:10 +00:00
Albert Lee d062b254af OPENJPA-1301 - Committing contribution by Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815361 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:15:13 +00:00
Pinaki Poddar 643f4d130f Configure for trigger for auto-assign in Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 03:33:28 +00:00
Fay Wang bda0136758 update document on derived identity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814937 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 23:39:02 +00:00
Donald Woods 492a19573c OPENJPA-1151 Cache the current-time timestamp in AbstractQueryCache.onTypesChanged(). Updated tests contributed by Jody Grassel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814802 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 19:39:36 +00:00
Donald Woods b8dde5761f OPENJPA-1214 Testcase to demonstrate RelationFieldStrategy behaviour differences between OpenJPA 1.x and 2.0. Testcase contributed by Tim McConnell. Doc updates by Donald Woods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814739 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 17:20:48 +00:00
Donald Woods 416b8d3ccb OPENJPA-1227 SQL generation error when using data cache. Patch and testcase contributed by David Minor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814706 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 15:42:03 +00:00
Donald Woods ee9210be92 OPENJPA-1201 [Mapped by] field not set when contained in superclass. Patch and testcases contributed by David Minor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814662 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 14:29:34 +00:00
Donald Woods b889ccb834 OPENJPA-1247 WriteBehindCallback sleepTime interval of one EMF datacache adversely impacting other EMF datacache (testcase for OPENJPA-1296). Contributed by Tim McConnell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814644 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 13:54:59 +00:00
Milosz Tylenda e9b5c53fd0 OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814295 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 10:02:01 +00:00
Fay Wang 558446dfe9 OPENJPA-1295: fix the escape character
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814166 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 14:58:07 +00:00
Pinaki Poddar d7b4296c8f Failed Oracle test on bad column name 'date'.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814105 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 02:49:29 +00:00