Commit Graph

387 Commits

Author SHA1 Message Date
Donald Woods 82c80100cc OPENJPA-1106 Add missing exception text to ConstraintValidationException instances and replace other exception strings with localized messages. Still needs some work to properly detect and rethrow the contents of a WrapperedException to the user's app.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788844 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 20:04:19 +00:00
Fay Wang 42f8667128 OPENJPA-1143: fix compiler error on IBM SDK5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788746 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 15:44:34 +00:00
Fay Wang 291f314242 OPENJPA-1143: correlation join support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788604 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 06:34:34 +00:00
Donald Woods 3f15ecde4d OPENJPA-1143 fix build error that only occurred on IBM SDK 5
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788382 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:08:29 +00:00
Pinaki Poddar 44443b3ebd OPENJPA-1143: refactor method signature to generic type CriteriaQuery<?> as input argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788058 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 15:48:04 +00:00
Fay Wang e57f032626 OPENJPA-1143: subquery support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787916 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 06:02:17 +00:00
Pinaki Poddar ecf43f87f7 OPENJPA-1143: Build dependency to 1.0-EA3-SNAPSHOT (latest unpublished JPA Spec), refactored MetaModel/CriteriaQuery API to compile against the new JPA API, line length limit increased to 120
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787832 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 21:04:32 +00:00
Donald Woods bc9654cfc5 OPENJPA-1111 Validation mode of callback should cause a PersistenceException when no provider is available. Part 2 - updated WrapperedException to properly pass on the exception, updated ValidationException to allow for setting the fatal flag, and updated the location of the localizer messages for ValidationUtils.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785861 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 00:09:42 +00:00
Pinaki Poddar 7b0fda399f Retire unused methods
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785456 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 00:27:55 +00:00
Pinaki Poddar 0b0fb31bce OPENJPA-1013: criteria fetch joins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785431 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 22:22:08 +00:00
Donald Woods 0d8b1dc074 OPENJPA-1111 Validation mode of callback should cause a PersistenceException when no provider is available. Also some config rework as suggested by Pinaki in reviewing OPENJPA-1114. This is Part 1, as the thrown PersistenceException is not marked as Fatal and contains a null description, but does have the stack.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785366 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 20:11:45 +00:00
Pinaki Poddar d6ae199de7 OPENJPA-1013: Joins, key/value, parameters, embedded
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785341 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 18:57:17 +00:00
Pinaki Poddar c9d62822d4 Add ASL header with -addHeader option
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785082 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 05:13:32 +00:00
Donald Woods acd00ecc61 include ASF license header in meta model generated source
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784888 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:56:36 +00:00
Donald Woods 75c9605384 OPENJPA-1114 include tracing to show if a VLEM is being created or not
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784171 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 16:02:49 +00:00
Jeremy Bauer 62be4544b3 OPENJPA-1135 Apply overrides to deferred embeddable attributes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783966 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 02:40:14 +00:00
Albert Lee 7b06c5cfbf OPENJPA-932 - Enable test case to be Java 2 security compliance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783440 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 18:15:01 +00:00
Pinaki Poddar b961b8baa2 OPENJPA-1013: Aliasing for query nodes, single attribute join support, reorganization of test harness
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783166 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 00:41:35 +00:00
Pinaki Poddar 43de09873b OPENJPA-900: Remove hint key ordering for performance overhead
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782782 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 21:04:00 +00:00
Pinaki Poddar 2236c1833e OPENJPA-1129: Remove wrong hint setting from NamedQuery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782781 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 21:02:17 +00:00
Milosz Tylenda 8ab85903ff OPENJPA-1127: Typos in user manual and log messages
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782212 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 09:06:32 +00:00
Donald Woods 9c15e0b746 OPENJPA-1114 improved trace messages
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782132 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 20:54:08 +00:00
Pinaki Poddar 3a8ec9e182 OPENJPA-1008: handle OID type field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781824 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 18:25:29 +00:00
Fay Wang fced775084 OPENJPA-1013: fix check-style problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781772 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 15:19:43 +00:00
Donald Woods 5f2c7c3fae fix checkstyle failure introduced in Rev781621
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781754 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 14:34:39 +00:00
Fay Wang be8b9808f6 OPENJPA-1013: subquery support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781621 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 23:44:58 +00:00
Donald Woods 549115f77c fix missing license header problems found by rat plugin during EA2 creation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781462 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 16:26:16 +00:00
Donald Woods 21a2fadcc6 OPENJPA-1114 Bean Validation APIs should be an optional runtime dependency
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780915 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 02:55:15 +00:00
Donald Woods 96777b2205 OPENJPA-1068 cleanup trace/log output to only include the exception message and not the stack trace for optional validator creation failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780746 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 17:42:14 +00:00
Donald Woods d4c227ef00 OPENJPA-1068 Use validation mode to determine if we should setup a ValidatingLifecycleEventManager or not. Based on patch from Jeremy with one config scenario still to be addressed in OPENJPA-1111.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780706 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 16:26:43 +00:00
Michael Dick 2b942805f2 OPENJPA-952. Committing patch from Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780086 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 20:06:29 +00:00
Donald Woods 08301b833b revert unintended file commits in Rev780046
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780049 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 17:58:50 +00:00
Donald Woods 0fa4a0c965 fix formatting by replacing tabs with spaces. also allow non-JDK5 profile to support JDK6+ and comment out unused antrun plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780046 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 17:53:19 +00:00
Donald Woods c9e74d4c7a update pom names to better match the module name and add descriptions where missing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779579 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 12:10:45 +00:00
Michael Dick c1b842d492 OPENJPA-1026. Committing patch from B.J. Reed and enabling newline check.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779416 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 02:50:00 +00:00
Donald Woods 130d1d4bd9 OPENJPA-880 Use maven-remote-resources-plugin to generate required legal files. Also removes dependency on openjpa-project for maven eclipse plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779191 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 14:43:00 +00:00
Pinaki Poddar 9c601dfa02 OPENJPA-900: Initialize hint keys staically for performance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778874 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 20:27:37 +00:00
Jeremy Bauer 5b53615609 OPENJPA-926 Modify XML-based explicit access tests to use build-time enhancement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778831 13f79535-47bb-0310-9956-ffa450edef68
2009-05-26 18:29:29 +00:00
Michael Dick 291e27eba9 OPENJPA-1015. Committing patch provided by BJ Reed. Additional testcases have been added which do not conform - I've updated some of them but some still exist so validation is not enabled by default
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@777135 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 14:39:31 +00:00
Pinaki Poddar 70f55bdee8 OPENJPA-1013: Joins, MetaModel validation, Array type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776951 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 05:05:39 +00:00
Fay Wang 768cd337b0 OPENJPA-1069: support of @OrderBy("DESC") on ElementCollection containing basic type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776878 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 21:59:24 +00:00
Fay Wang f91a31dae4 OPENJPA-1013: OrderBy support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776551 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 05:09:38 +00:00
Fay Wang 9ef9654a99 OPENJPA-1013: non-default escape character support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776495 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 23:30:12 +00:00
Fay Wang 598c25f2b9 OPENJPA-1013: NOT IN/ IS (NOT) NULL/LIKE support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776435 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 20:04:10 +00:00
Fay Wang db43c7443d OPENJPA-1013: Constructor support in Criteria Query. Test case will be checked in later.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776136 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 23:41:43 +00:00
Jeremy Bauer e5e4cc122a OPENJPA-1068 Rev 1 of lifecycle validation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776009 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 17:05:48 +00:00
Fay Wang 76764564b1 OPENJPA-1013: parameter support for Criteria Query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775997 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 15:56:35 +00:00
Fay Wang a5f85ac7f8 OPENJPA-1013: TYPE expression support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775306 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:05:48 +00:00
Fay Wang 2203aedf46 OPENJPA-1013: MEMBER OF support for criteria query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@775009 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 05:27:38 +00:00
Fay Wang 9d30d4819e OPENJPA-1013: IS EMPTY/SIZE() support for criteria query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774955 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 22:52:03 +00:00