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
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
Michael Dick
df986cb186
(re) including committed metamodel classes in checkstyle repost
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782777 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 20:43:13 +00:00
Milosz Tylenda
338d56bbf3
OPENJPA-1123: MySQL query hints support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782362 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 10:54:59 +00:00
Milosz Tylenda
a2c286bf3b
OPENJPA-1122: Remove JDBC 3 related reflection from DBDictionary
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782338 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 08:13:41 +00:00
Milosz Tylenda
ff52a40fb4
OPENJPA-1124: Make TestDateQueries and TestQueryTimeout pass regardless of system locale
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782217 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 10:08:11 +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
Albert Lee
bace5f5697
OPENJPA-1113 - The 2nd level Reflection class cached object (Class -> (String -> Method)) is a Method object, which has a back reference back to the owning Class. The IBM JDK seems to be able to garbage-collect these caches using WeakReferenceHashMap. By forcing the value of the nested HashMap to be WeakReference, using the ConcurrentReferenceHashMap class, the Sun and IBM JDK 5/6 are able to release the cache content, if not needed. With these changes, the trunk maven build time has shortened by 5-10%.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782064 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 16:58:53 +00:00
Michael Dick
44fa5e83ae
Exclude metamodel classes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@782035 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 14:58:37 +00:00
Michael Dick
4b7e773753
OPENJPA-1083 Adding trace message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781826 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 18:33:32 +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
Michael Dick
8a2210c65a
OPENJPA-1083 committing patch provided by Ravi Palacherla
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781791 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 16:45:34 +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
b99931efa8
fix license header location for XML validation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781492 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 17:54:10 +00:00
Donald Woods
f949bc9ccb
update license-verify-profile with additional rat excludes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781479 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 17:08:22 +00:00