Commit Graph

2192 Commits

Author SHA1 Message Date
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
Albert Lee 4d5c43ad78 OPENJPA-1113 - Revert changes back to previous levels: Reflection:743396 & AbstractBrokerFactory 768588. I have verified that the latest changes associated to this issue did not caused any memory leak by observing/dumping the static cache sizes in the Reflection class. The emf.close() method cleared out the cache, i.e. HashMap.size() == 0. From looking at the memory usage of the JVM that invoked the test in persistence-jdbc module, the memory usage continues to grow even without the changes committed by this issue. Therefore there is some memory leak somewhere either in the test case or the provider code. The OOM condition only occurs with Sun JDK, IBM JDK works ok.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781473 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 16:58:14 +00:00
Donald Woods 9168ab0032 exclude maven-shade-plugin generated file from rat plugin checks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781471 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 16:55:00 +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 154a41cc11 update for next release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781425 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 15:15:41 +00:00
Donald Woods 1765ccbdd1 latest changes.txt info from ea2 branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781419 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 15:04:02 +00:00
Donald Woods 4b45efa828 copy of LICENSE/NOTICE files to include in the binary assembly which covers all included libs. pom cleanup and updates for nightly-build publishing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781386 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 14:08:12 +00:00
Donald Woods b3987f568c fix indenting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 13:22:05 +00:00
Donald Woods a6f5dad980 update build instructions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781240 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 02:18:04 +00:00
Albert Lee 751a60b393 OPENJPA-1113 - Close off memory leak.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781221 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 00:20:03 +00:00
Milosz Tylenda d875749226 OPENJPA-907: Correct TestParentChild to pass on Oracle and PostgreSQL - patch provided by Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781104 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:00:30 +00:00
Donald Woods ae16f80278 upgrade to branched/stable copy of geronimo-validation_1.0_spec-1.0-EA-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@781103 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 17:59:05 +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
Albert Lee e32f6f1337 OPENJPA-1113 - Cache Reflection artifacts for performance improvement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780881 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 23:29:51 +00:00
Albert Lee 35d97a14d3 OPENJPA-5 - Add doPriv around "new BCClassLoader" and "project.loadClass()"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780879 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 23:23:45 +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 97caf21bb7 OPENJPA-1068 remove debugging info left behind in last commit. Jeremy, thanks for the review and for catching this.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780729 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 17:13:08 +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
Donald Woods f90952b286 OPENJPA-1102 additional validation factory tests. test scenario #4 will be addressed in OPENJPA-1111.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780704 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 16:18:16 +00:00
Milosz Tylenda cb98d4fc33 OPENJPA-736: JDBC 3 way of retrieving generated keys - allow user to disable it, doc and test updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780260 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 13:22:56 +00:00
Milosz Tylenda e80110bdd1 OPENJPA-847: Enable JDBC 3 way of retrieving generated keys
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780258 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 13:11:24 +00:00
Fay Wang 54744110eb OPENJPA-1013: make setImplicitTypes static so that it can be called by critieria query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780172 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 04:22:22 +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