Donald Woods
bc5a51520f
OPENJPA-1106 Initial @Null and @NotNull validation contraint tests along with other entity classes for future tests to be added.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788849 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 20:06:40 +00:00
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
Donald Woods
fa64591c41
OPENJPA-1106 cleanup some javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788836 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 19:48:29 +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
Donald Woods
e72c186ef1
OPENJPA-1143 fix 2 build errors only flagged in Eclipse (was using Galileo and Sun JDK 6)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788381 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 15:07:34 +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
David Ezzio
636bd5f213
OpenJPA-525: merged change 786218 from 1.1.x branch to trunk, fix for Oracle and null CLOBs.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787868 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 23:03:42 +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
4b70d52d9c
OPENJPA-946 Oracle create table(s) exceptions. Updated patch and tests provided by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787741 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 16:18:28 +00:00
Michael Dick
0e055fb013
OPENJPA-1119 committing patch from Rick Curtis.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787359 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 19:16:19 +00:00
Milosz Tylenda
d389c4327b
OPENJPA-1126: Note on Calendar and Java 1.3 no longer needed in user manual
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787356 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 19:12:15 +00:00
Michael Dick
1c4fdebe83
Temporarily disable criteria testcases per email on dev mailing list
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@787306 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 16:34:08 +00:00
Milosz Tylenda
79ad8c4943
OPENJPA-1123: Test for database-specific query hints
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786615 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 18:33:28 +00:00
Donald Woods
6c1cc88175
OPENJPA-1117 Missing AgentClass attribute in openjpa-all-xxx.jar manifest.mf. Also included some jvm arguments from OPENJPA-1119 which were required to fix some OOM PermGen space problems with 64bit IBM 6 SDK on Windows.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786555 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 15:43:46 +00:00
Michael Dick
453a6a96fa
Move delegating store manager creation to a separate method
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786340 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 00:11:04 +00:00
Michael Dick
7f0b0234c0
Move properties parsing in PersistenceTestCase into a separate method for reuse in subclasses.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786309 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 21:56:56 +00:00
Donald Woods
77f181582e
add missing svn props
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786225 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 19:39:36 +00:00
Donald Woods
46ea5bf7a6
remove tabs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@786178 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 17:36:26 +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
Donald Woods
472cf99ab4
OPENJPA-1000 Consistent usage of serialVersionUID - remove added sVUID added in 2.0.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785778 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 20:22:20 +00:00
Michael Dick
e1f290e4df
OPENJPA-1139 force checkstyle to use velocity v1.1.3. Newer versions are available but cause other issues (tried 1.1.6 & 1.1.7).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785749 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 18:26:59 +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
70a0b7b1db
new header option
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785355 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 19:38:38 +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
Michael Dick
e3a6af8f24
OPENJPA-1133. Adding svn:eol-style properties.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785272 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 16:07:53 +00:00
Michael Dick
4c9be63dc6
OPENJPA-1133 committing patch provided by Ravi Palacherla. PostgreSQL
...
Dictionary will now use "false" as a placeholder instead of 0 for
columns of type BIT.
modified: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/PostgresDictionary.java
new file: openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/EntityBool.java
new file: openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/meta/TestBooleanValue.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785268 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 15:51:15 +00:00
Donald Woods
8f2f9e1626
upgrade to latest Apache pom, so we start using the new nexus based repos which Geronimo is now using
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@785211 13f79535-47bb-0310-9956-ffa450edef68
2009-06-16 13:36:09 +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
Michael Dick
c63c10cfbf
Exclude metamodel classes due to popular request
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784866 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 17:08:00 +00:00
Milosz Tylenda
5d1bd85ca8
OPENJPA-1132: Use MySQL-specific syntax for dropping foreign and primary keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784402 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 14:42:45 +00:00
Donald Woods
888ddb83c0
OPENJPA-1106 rename testcase to better match what we're testing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@784172 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 16:03:49 +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
6ee7af451c
OPENJPA-926 Do not validate access hierarchy when mapped superclass has no persistent attributes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783968 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 02:51: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
Michael Dick
a972ec0de3
OPENJPA-1136 adding .gitignore
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783920 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 21:24:48 +00:00
Albert Lee
edb329a475
OPENJPA-891 - Fix non-versioned entity locking support and add tests.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783633 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 05:25:25 +00:00
Donald Woods
27b0abd46b
OPENJPA-1106 Integration tests for Bean Validation providers - Part 1 (not hooked into the builds yet)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783503 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:44:39 +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
Donald Woods
9c0f517f55
OPENJPA-1130 Need to include a couple more resources in the tests.jar to enable the base TestCase classes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783432 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 17:22:17 +00:00
Donald Woods
f503abe979
OPENJPA-1130 Use maven-jar-plugin to create a o-p-j-tests.jar to share base TestCase classes across modules
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783404 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 15:55:14 +00:00
Donald Woods
83bcadb624
OPENJPA-1131 Upgrade to maven-jar-plugin-2.2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783401 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 15:48:09 +00:00
Michael Dick
d7a6e1a08b
OPENJPA-1125 committing patch from Rick Curtis. Preventing misleading enhancement message.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@783376 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 14:45:32 +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
6a8483460d
OPENJPA-900: Remove hint key ordering for performance overhead
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782783 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 21:05:12 +00:00