Fay Wang
|
f74c5d7a69
|
OPENJPA-1185: commit subquery overhaul on behalf of Catalina
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@795934 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 17:49:36 +00:00 |
Jeremy Bauer
|
5cb32680a9
|
OPENJPA-1176 Add compatibility option to allow private persistent properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@794774 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-16 18:46:22 +00:00 |
Donald Woods
|
8613683843
|
OPENJPA-1000 Consistent usage of serialVersionUID. Remove all serialVersionUID values that have been added since 1.2.1 as requested by Pinaki to keep the usage consistant (ie. very little use of serialVersionUID in the existing code.)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792312 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 20:48:46 +00:00 |
Michael Dick
|
08bafa5ef5
|
OPENJPA-1164. Making sleepTime configurable for SimpleWriteBehindCallback.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@792226 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 16:47:34 +00:00 |
Pinaki Poddar
|
dcaa13461e
|
OPENJPA-703: Beef up strong/weak exclusion of cache entries. Narrow down reason for exclusion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791971 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-07 20:29:34 +00:00 |
Jeremy Bauer
|
5283bcd77d
|
OPENJPA-1082 Added support for configurable bean validation groups
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791678 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-07 02:35:08 +00:00 |
Michael Dick
|
8597b330e5
|
OPENJPA-1150. Adding support for simple write-behind cache scenarios.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791628 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-06 22:09:32 +00:00 |
Jeremy Bauer
|
9ee5383721
|
OPENJPA-1155 Committing code contributed by Dianne Richards. This update ensures that all entities, especially those loaded during detachment get cascaded during detach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@791568 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-06 19:06:19 +00:00 |
Jeremy Bauer
|
c24bc1d75c
|
OPENJPA-1068 Modified exception translator to translate wrapped validation exceptions. EM operations now throw correct validation exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790700 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-02 18:21:26 +00:00 |
Pinaki Poddar
|
c2afd1cefd
|
OPENJPA-703: Expand type of queries that can be cached especially with various projection terms. Refactor testing of PreparedQueryCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790676 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-02 16:57:17 +00:00 |
Michael Dick
|
80dbd79952
|
OPENJPA-1151 committing patch from Jody Grassel.
modified: openjpa-kernel/src/main/java/org/apache/openjpa/datacache/AbstractQueryCache.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@790003 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 23:53:31 +00:00 |
Michael Dick
|
03d9e24bc6
|
OPENJPA-1061 merging patch provided by Jody Grassel to trunk
modified: openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java
modified: openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@789519 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 01:05:16 +00:00 |
Milosz Tylenda
|
717a3bb508
|
OPENJPA-1146: Delete RuntimeUnenhancedClassses and link references to RuntimeUnenhancedClasses
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@788944 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-27 09:53:46 +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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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
|
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 |
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 |
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 |
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 |
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 |
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 |
Catalina Wei
|
87b66ae764
|
OPENJPA-1098 JPA2 Query support for subselect_identification_variable
no functional changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@779447 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-28 06:27:31 +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 |
Catalina Wei
|
c20a2b254f
|
OPENJPA-1098 JPA2 Query support for subselect_identification_variable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778990 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-27 04:22:37 +00:00 |
Jeremy Bauer
|
a4a9dc1787
|
OPENJPA-926 Localize exception message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778873 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-26 20:24:43 +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 |
Catalina Wei
|
b1e8eec3ce
|
OPENJPA-1098 JPA2 Query support for subselect_identification_variable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@778540 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-26 00:05:36 +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 |
Donald Woods
|
5fc3725de5
|
OPENJPA-1068 has listeners should be logical ORs instead of ANDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776374 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-19 16:10:06 +00:00 |
Catalina Wei
|
2ce5299a73
|
OPENJPA-1094 JPA2 Query support KEY to appear in subquery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@776117 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-18 22:23:04 +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 |
Donald Woods
|
cb115bcd16
|
OPENJPA-1077 Validation-mode element support added to persistence.xml and to createEMF properties Map
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774930 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-14 21:14:45 +00:00 |
Catalina Wei
|
d7ddfb1055
|
OPENJPA-1064 JPA2 Query no support for embeddable of element collection in predicate and subquery
JPA2 spec (section 4.12) does not support comparisons over embeddable class.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@774928 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-14 21:08:27 +00:00 |