Commit Graph

2132 Commits

Author SHA1 Message Date
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
Jeremy Bauer 016d49b4c0 OPENJPA-962 Committing code and tests contributed by Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780068 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 18:54:08 +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
Jeremy Bauer 49596dc4e6 OPENJPA-1074 Fix for bidirectional ordered relationships. Modified order column tests to be included in compile time enhancement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@780038 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 17:24:54 +00:00
Catalina Wei dbc271305f OPENJPA-967 add query test string for JPA2 path nagivation thru KEY appear in FROM clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779833 13f79535-47bb-0310-9956-ffa450edef68
2009-05-29 04:26:29 +00:00
Michael Dick 0d6f1a0214 OPENJPA-1054. Added testcase for callable statements and fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779764 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 20:45:27 +00:00
Michael Dick 3c88ac3d20 OPENJPA-1054 committing patch from Rick Curtis and Fay Wang. Testcase has been updated to use jMock instead of creating its own mock objects
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779715 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 18:31:12 +00:00
Michael Dick b2a8732a8b Setting eol-style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779699 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:55:10 +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
Donald Woods 85bc7a5e80 OPENJPA-1102 Support application/container provided ValidatorFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779554 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 10:43:55 +00:00