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
Jeremy Bauer
1f37b7725c
OPENJPA-926 Tests and code updates for explicit access types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773704 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 21:59:15 +00:00
Pinaki Poddar
dc39b6320f
OPENJPA-1050: Use generic types where applicable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773180 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 08:27:44 +00:00
Pinaki Poddar
23bd8aa147
OPENJPA-1050: Use generic types where applicable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@773179 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 08:17:27 +00:00
Pinaki Poddar
9a8246799c
OPENJPA-1010: MetaDataRespository knows about meta-class. The naming and support for meta-class added to MetaDataFactory. Implemented in PersistenceMetaDataFactory. AnnotationProcessor6 aligned with this naming policy interface.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772820 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 23:57:04 +00:00
Fay Wang
75dfd10c59
OPENJPA-1069: orderBy on ElementCollection of basic types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772528 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 07:16:31 +00:00
Catalina Wei
ed82fda48c
OPENJPA-1064 JPA2 Query add support for embeddable of element collection in predicate and subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@772015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 00:03:09 +00:00
Pinaki Poddar
0392538775
OPENJPA-1013,OPENJPA-1014: Type-strict Criteria API (skeletal) implementation as per JPA 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@771948 13f79535-47bb-0310-9956-ffa450edef68
2009-05-05 18:03:31 +00:00
Michael Dick
6a36d55398
OPENJPA-1045 remove system.out.format eyecatcher
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@771348 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 16:26:44 +00:00
Michael Dick
2c2e78149d
OPENJPA-1045. L2 cache included / excluded types may be specified via configuration properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770729 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 15:47:33 +00:00
Pinaki Poddar
733c1ea7de
OPENJPA-1050: Use parameterized type whenever applicable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770528 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 04:02:14 +00:00
Pinaki Poddar
861db8ddd0
OPENJPA-1049: Register type alias for MappedSuperclass.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@770516 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 02:22:35 +00:00
Fay Wang
1677b481b2
OPENJPA-1053: fix update by setting an embeddable which contains a cascade delete relation with another entity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769879 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 19:08:11 +00:00
Pinaki Poddar
9d52998c1e
OPENJPA-926: JPA 2.0 Access processing by XML descriptors
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769308 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 09:20:06 +00:00
Pinaki Poddar
29a5f7acd2
OPENJPA-1050: Use parameterized type whenever applicable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768588 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 19:29:07 +00:00
Pinaki Poddar
a868ae3435
OPENJPA-926,OPENJPA-1050: handling corner cases of access type. moving uniformaly to access code. adding type parameters.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768498 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 09:11:11 +00:00
Pinaki Poddar
cf8647198a
OPENJPA-1050: Use parametrized types wherever applicable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768452 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 02:57:40 +00:00
Pinaki Poddar
0ffbce338f
OPENJPA-926: entity without any property can have unknown access type.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768428 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 22:24:45 +00:00
Pinaki Poddar
ffdf2648fd
OPENJPA-1050: Use parametrized types wherever applicable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@768386 13f79535-47bb-0310-9956-ffa450edef68
2009-04-24 17:59:38 +00:00
Pinaki Poddar
178f0a180a
OPENJPA-926: Support explicit access types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767973 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 16:55:45 +00:00
Catalina Wei
f3b437ab76
1035 JPA2 Query allow embeddable as orderby item
...
add more test strings for IS NULL and IS EMPTY predicates with path navigation thru key path or embeddable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@767084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:21:02 +00:00
Catalina Wei
32fd2a52d1
1035 JPA2 Query fix setParameter for key path in predicates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@766576 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 05:21:40 +00:00
Fay Wang
1da766bc55
OPENJPA-1038: detect circular dependencies among embeddables
...
and issue proper error message to avoid stack overflow
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765846 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 04:26:10 +00:00
David Ezzio
e4b87fd6b3
Fix for OpenJPA-1002, patch submitted by Ravi Palacherla
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765801 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:27:02 +00:00
Fay Wang
0daf1bffc8
OPENJPA-1041: allow orderBy on nested embeddables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@765800 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 23:24:07 +00:00
Catalina Wei
f758a191ee
OPENJPA-1035 JPA2 Query allow map key/value path to appear as argument to scalar functions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@764668 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 04:09:05 +00:00
Fay Wang
16c8b6d2dc
OPENJPA-1024: add enum literal support for case expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@763860 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 02:51:31 +00:00
Catalina Wei
df18282acd
OPENJPA-1024 JPA2 support scalar expressions in subquery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762854 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:06:19 +00:00
Michael Dick
b5d5ea2734
OPENJPA-1023. set svn:eol on .properties
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762563 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 23:28:17 +00:00
Albert Lee
bdce39ae28
OPENJPA-1022 - Ensure LockMode READ/OPTIMISTIC & WRITE/OPTIMISTIC_FORCE_INCREMENT are distinct in type but semantics equivalent.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762409 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 16:30:24 +00:00
Albert Lee
718370e1ef
OPENJPA-957 - Create Fetch*HintHandler(s) for property processing in EntityManager/Query interface methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@762161 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 21:29:42 +00:00
Michael Dick
b6e661e24a
OPENJPA-1015 fix line wrapping in source files. Based on patch contributed by B.J. Reed. Updates made to do enforce line wrapping during the process-sources phase of the build.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 03:09:53 +00:00
Patrick Linskey
318d408ab7
fixed spacing issue with some localization messages that wrap. This pushes some lines to 81 characters; we could re-wrap these lines if needed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761417 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 20:26:09 +00:00
Fay Wang
19371ce174
OPENJPA-218: fix merge problem with derived identity using IdClass. The corresponding test case is checked in using JIRA-1004.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761328 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:40:13 +00:00
Fay Wang
f21f7b5ae5
OPENJPA-1004: fix problems with IdClass which has a derived identity and the relation corresponding to the derived identity uses generatedKey
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761326 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:38:34 +00:00
Catalina Wei
33ed6bfb7f
JPA2 Query support for embeddables; nested embeddables; relationships from embeddables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761031 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 19:53:54 +00:00
Jeremy Bauer
a5e3bdd592
OPENJPA-990 Committing code and test updates contributed by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@760056 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 17:21:57 +00:00
Catalina Wei
ad0c7db14c
OPENJPA-961 JPA2 Query support for element collection
...
add support for element collection within embeddable object
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@759330 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 20:18:39 +00:00
Catalina Wei
7e6ca9043e
OPENJPA-956 support elementCollection in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758868 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 21:36:08 +00:00
Pinaki Poddar
32796f751b
OPENJPA-5: Upgrade to JDK6
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@758490 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 01:01:39 +00:00
Michael Dick
90b84c5d73
OPENJPA-896. Setting eol-style:native and removing windows eol characters from source files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@757278 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 23:37:24 +00:00
Fay Wang
9e683c7612
OPENJPA-963: commit patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756193 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:54:28 +00:00
Catalina Wei
6f253f050b
OPENJPA-967 JPA2 add support for collection valued path thru KEY appear in FROM clause
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756104 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 17:33:03 +00:00
Albert Lee
ca00078072
OPENJPA-988 - Refactoring JPA2/MixedLockManager from persistence module to jdbc module. No functional changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@756066 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 16:03:15 +00:00
Jeremy Bauer
ed8ec02432
OPENJPA-885 Committing code and tests contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755470 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 04:01:25 +00:00
Jeremy Bauer
469a10d909
OPENJPA-878 Committing code, tests, and documentation updates for Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755117 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 04:40:53 +00:00
Catalina Wei
7c9ef84fb9
OPENJPA-967 JPA2 JPQL allow KEY(e) of basic types appear in conditional expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755102 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 03:13:10 +00:00
Fay Wang
2860368801
OPENJPA-978: make the third argument in substring function
...
optional.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753596 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 03:28:14 +00:00
Catalina Wei
d8da810820
OPENJPA-967 JPA2 Query support for selection of state field thru KEY navigation
...
Sample JPQL: select KEY(e).name from Dept d join d.emps e
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@753473 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 23:20:45 +00:00
Pinaki Poddar
272c584af2
Add isAbstract() method on ClassMetaData to designate a MappedSuperClass
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752931 13f79535-47bb-0310-9956-ffa450edef68
2009-03-12 16:52:24 +00:00
Pinaki Poddar
393111b875
OPENJPA-857: PersistenceProductDerivation sets Compatibility according to current specification. Allow multiple specifications to coexist.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752557 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:38:35 +00:00
Albert Lee
6e6cb3786c
OPENJPA-891 - Complete new LockModeType supports in EntityManager. Manual updated. Build and TCK passed. Code reviewed by Pinaki P. and Mike D.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752306 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 23:41:03 +00:00
Pinaki Poddar
4506244327
OPENJPA-958,959: timeout on query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@752005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 07:22:23 +00:00
Pinaki Poddar
a1917d1378
OPENJPA-968: Change default detach to be in-place rather than copy to align with JPA 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751910 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 23:27:50 +00:00
Albert Lee
f1d4abda25
OPENJPA-891 - Add constructor per Pinaki's comment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751476 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 17:31:07 +00:00
Albert Lee
70cfcaaee1
OPENJPA-891 - Remove _recoverable attribute in StoreException and use _fatal instead, per Pinaki's suggestion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@751109 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 22:22:15 +00:00
Pinaki Poddar
cae33419ae
OPENJPA-955: test+documentation on MethodQL. Allow candidate class be optional on MethodQL. Do not cache MethodQLQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750798 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:50:54 +00:00
Catalina Wei
30ee661fdc
OPENJPA-879 JPA2 Query support for selecting KEY, ENTRY and VALUE of a Map value
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750517 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 17:30:20 +00:00
Jeremy Bauer
deda5b3a40
OPENJPA-927 Committing code contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@750117 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 19:24:00 +00:00
Pinaki Poddar
23145bf7ca
OPENJPA-704: Make extended path lookup optional to save runtime costs for predominant use cases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@749435 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 21:05:05 +00:00
Fay Wang
b811a6c43b
OPENJPA-931: IdClass support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748349 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 23:35:54 +00:00
Pinaki Poddar
b0a4367dd0
OPENJPA-703: Reinstate performance optimization for DEFAULT and ALL fetch group lookup that was inadvertently rolled back.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747909 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 20:18:53 +00:00
Albert Lee
22a0f837e1
OPENJPA-891 - Committing basic JPA2 lock mode support for em refresh, find and lock methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@747489 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 18:48:09 +00:00
Fay Wang
f72b68bfbb
OPENJPA-931: nested embeddedId/MappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@746446 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 07:29:40 +00:00
Fay Wang
357cf347c8
OPENJPA-871: mappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745699 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 00:30:06 +00:00
Albert Lee
1a643ec899
import clean up
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745587 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 18:09:32 +00:00
Pinaki Poddar
f08e4e1791
OPENJPA-924: Cache primary key field indices. Simplify QueryStatistics template.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745329 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 00:49:51 +00:00
Pinaki Poddar
3fc7f54a01
OPENJPA-924: Support cache of Finder queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745293 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 23:21:37 +00:00
Pinaki Poddar
556e09b69f
OPENJPA-703: Use template for QueryStatistics.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@745123 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 15:41:28 +00:00
Pinaki Poddar
2582d4de0b
OPENJPA-703: Clean up unused varaibles in PreparedQueryCache implementaion and remove support for Class based keys kep as placeholder for finder queries.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@744966 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 17:00:07 +00:00
A. Abram White
1d47f14547
OPENJPA-913
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743477 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 20:14:24 +00:00
Fay Wang
1b7ff075c9
OPENJPA-871: MappedById support (spec 2.4.1.2 Ex3b, 5b)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743437 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:19:13 +00:00
Pinaki Poddar
8a9595bed4
OPENJPA-900: Consolidate Query Hint related processing. As a byproduct, support new JPA 2.0 getHins() and getSupportedHints().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@743396 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 16:57:26 +00:00
Pinaki Poddar
0916d4b109
OPENJPA-703: Align data loading for Prepared Query Results to Select oriented result object provider
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@742601 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 16:29:37 +00:00
Fay Wang
e2aea2d05a
OPENJPA-871: MappedById support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@741595 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:34:53 +00:00
Jeremy Bauer
b620c40e3e
OPENJPA-849 Committing code and corresponding tests contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740989 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 03:30:43 +00:00
Pinaki Poddar
c27f31a107
OPENJPA-899: Initial support for new JPA 2.0 Query.getHints() API method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:06:47 +00:00
Michael Dick
d61b3b26a9
OPENJPA-772 committing patch provided by Donald Woods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740763 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 15:12:58 +00:00
Pinaki Poddar
ddec73796c
OPENJPA-703: Validate parameter values by their expected types.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740506 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:18:54 +00:00
Pinaki Poddar
f9c94752d7
OPENJPA-857: Extend support for Specification through a more structured type to carry Version information. Will help Compatibitibility (and may be others) that needs to tune their behavior based on current Specification version as well as backward compatibie versions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740492 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:38:45 +00:00
Pinaki Poddar
c71522fa9a
OPENJPA-703:How user parameters are converted to Object[] is determined by the Executors. Because they are the consumer of this information. kernel.Query toParameterArray() was making many implict assumptions. A detailed test with paramenetrs and forcing PreparedQueryCacheImpl to cache JPQL only.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740184 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 01:41:25 +00:00
Pinaki Poddar
64329e007e
OPENJPA-703: Support Collection-valued parameters. Handle re-parameterization when collection-valued parameter has different size across invocations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@740016 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 15:57:27 +00:00
Pinaki Poddar
2065e905dd
OPENJPA-703: Use Prepared Query for packed results.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739796 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 17:34:04 +00:00
Pinaki Poddar
4ed05803e1
OPENJPA-703: A separate executor for Prepared SQL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739784 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 16:50:45 +00:00
Pinaki Poddar
e30261e55a
OPENJPA-703: Support PersistenceCapable as query parameter during reparameterization of Prepared Query.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739589 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 19:37:01 +00:00
Fay Wang
937d0f42f0
OPENJPA-870: rollback r739155 to re-use the code path
...
of @Dependent and @ElementDependent for orphanRemoval.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739448 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 23:06:29 +00:00
Fay Wang
3c85ec758a
OPENJPA-870: orphanRemoval support with test case checked in
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739166 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 04:32:51 +00:00
Fay Wang
6453c64343
OPENJPA-870: orphanRemoval support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739155 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 03:15:09 +00:00
Pinaki Poddar
295442d82f
OPENJPA-703: Prepared Query Cache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@739123 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30 01:27:35 +00:00
Catalina Wei
8e60655cd7
OPENJPA-865 JPA2 Query support for collection-valued input parameter in in-expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@738940 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 17:51:35 +00:00
Fay Wang
89df4a7532
OPENJPA-873: fix NPE when MappedSuperclass does not have
...
IdClass defined.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737816 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26 20:23:55 +00:00
Catalina Wei
f1d2bf4bef
OPENJPA-863 Unexpected mere-cascade behavior when cascade.all/merge specified on both sides of relationships
...
Committing patch provided by Sandhya Truraga
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@737132 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 18:23:18 +00:00
Jeremy Bauer
017e518bba
OPENJPA-802 Base OrderColumn support and corresponding tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736915 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 04:54:33 +00:00
Catalina Wei
d49fdb1ea2
OPENJPA-856 JPQ2 JPQL add support for entity type expression
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736881 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 01:19:47 +00:00
Michael Dick
0452a7c4ab
OPENJPA-809 support JPA 2.0 cache interface.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@736036 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 16:50:01 +00:00
Michael Dick
8c50f73fe4
OPENJPA-860 fixing the last trace call. Patch originally provided by Janko Heilgeist
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@735137 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 21:12:47 +00:00
Michael Dick
696388049b
OPENJPA-860 improve trace. Entity class names are printed when found in orm.xml
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734797 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15 20:21:45 +00:00
Catalina Wei
1583426e01
OPENJPA-836 after em.clear the datacache is inconsistent
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734551 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 23:21:13 +00:00
Pinaki Poddar
2e2618407d
OPENJPA-858: Allow configurable PostPersist callback either post flush/commit or post persist immediately.Also refactored callback options around a CallbackOptions configuration class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734344 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 06:20:31 +00:00
Fay Wang
c99c9d24f9
OPENJPA-851: enhanced map support for JPA 2.0 (Spec 10.1.26,
...
10.1.27, 10.1.28, 10.1.29, 10.1.30, 2.7)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@734319 13f79535-47bb-0310-9956-ffa450edef68
2009-01-14 04:11:32 +00:00
Catalina Wei
4427455757
OPENJPA-855 JPA2 Query updates add support for Index function
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@733142 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 20:13:20 +00:00
Pinaki Poddar
cbbc768673
OPENJPA-850: Add notion of equivalent property keys for configurable Value. Use this facility to support new javax.persistence.* style property keys alongside openjpa.* style property keys.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@732443 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07 19:38:45 +00:00
Jeremy Bauer
c924cc2fc8
OPENJPA-803 Added support to allow a specific schema name to be specified on sequence generators per JPA 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728147 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 21:22:18 +00:00
Michael Dick
16b7b1a7f7
OPENJPA-784 committing patch provided by Fernando
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@728004 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 11:36:13 +00:00
Pinaki Poddar
574d559860
OPENJPA-825: Introduced internal locking for shared contexts (BrokerImpl/QueryImpl).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727864 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 00:08:23 +00:00
Jeremy Bauer
04900fe85c
OPENJPA-819 Committing fix for NPE and corresponding test case contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727813 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18 20:39:06 +00:00
Pinaki Poddar
0f7f03d8b0
OPENJPA-825: Cache unique flag for query to avoid lcoking. Use StateManager's instance lock rather than acquiring Broker's lock.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727297 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 06:23:00 +00:00
David Ezzio
9ba8587238
Merged changes 726860, 68, and 76 from branch 1.1.x. Added Cache Marshallers to descriptors, and renamed test case. Was not able to enable test case due to additional missing property descriptors in trunk. See Jira: OPENJPA-830.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727250 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 03:01:26 +00:00
Fay Wang
4cf216c21f
OPENJPA-782: embeddable support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@727084 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 16:44:26 +00:00
Pinaki Poddar
548ccbcf95
OPENJPA-828: Switch field value access based on declaredTypeCode rather than typeCode to take care of externalized fields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726927 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:59:34 +00:00
Catalina Wei
47eab49812
OPENJPA-805 JPQL updates iteration 1
...
add in-memory query constructs for Case, Coalesce, and NullIf expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@726926 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 01:58:31 +00:00
Catalina Wei
debe82b8d0
OPENJPA-805 JPQL iteration 1 - add support for COALESCE and NULLIF expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725881 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 01:29:19 +00:00
Jeremy Bauer
cabd344397
OPENJPA-800 remove version milestone indicator from build artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725817 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 21:17:55 +00:00
Catalina Wei
979a6e373c
OPENJPA-805 JPQL iteration 1: add support for Case Expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725728 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 16:16:32 +00:00
Catalina Wei
2bb40626e6
OPENJPA-805 JPQL iteration 1 add support for select ScalarExpression & Order By selectAlias
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725530 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:43:52 +00:00
Pinaki Poddar
d1f498b59e
OPENJPA-806: Testing Criteria API by executing against the database. Persistent test classes declare fields as appropriate to the tested queries. Criteria that use new JPQL constructs such as KEY(), CASE etc. are compared literally with handcrafted JPQL string. The supported ones are executed against the database.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725522 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 01:29:10 +00:00
Catalina Wei
8f97b2248a
OPENJPA-805 JPQL updates - iteration 1
...
Sync up with JPQL.jjt to pass regression
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725485 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 23:34:55 +00:00
Catalina Wei
243b68dbb7
OPENJPA-805 JPQL updates - iteration 1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@725429 13f79535-47bb-0310-9956-ffa450edef68
2008-12-10 20:52:36 +00:00
Pinaki Poddar
62e1deae8f
OPENJPA-801: PCPath is now a CandidatePath. But why was it not before?
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724856 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 20:08:32 +00:00
Michael Dick
82e702867e
OPENJPA-817 fixed in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724765 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 16:04:37 +00:00
Fay Wang
9946b6c19b
OPENJPA-792: MappedSuperClass problem. Commit on behalf of
...
Sandhya Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724490 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:22:58 +00:00
Fay Wang
e78a1bc079
OPENJPA-782: embeddable support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@724437 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 18:27:45 +00:00
Jeremy Bauer
c60a95f77a
OPENJPA-800 Change release artifact versions for milestone 1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@723373 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 16:51:03 +00:00
Pinaki Poddar
c28c7830d5
More informative message when multiple fields used wrongly as primary key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@722060 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 12:42:00 +00:00
Michael Dick
9e67ec5ae8
OPENJPA-778 cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719739 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 22:55:38 +00:00
Michael Dick
2b1a1e69e2
OPENJPA-778 committing patch provided by Fernando
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719698 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 20:16:32 +00:00
Fay Wang
bb937f3634
OPENJPA-742: add get lineNumber/ColumnNumber to SourceTracker
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719314 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 18:16:46 +00:00
Srinivasa Segu
031f525d4f
OPENJPA-680 - After load and after refresh callbacks were each resulting in a post load call resulting in the duplicate call. Fix addresses the same and re-introduces the original fix.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@719166 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 05:37:59 +00:00
Pinaki Poddar
75b9ca7fa3
OPENJPA-764: Parse IN expressions with string functions such as UPPER()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712842 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 21:35:35 +00:00
Catalina Wei
5550d8dbb5
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist.
...
cosmatic changes only - removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@712817 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 19:55:00 +00:00
Jeremy Bauer
54d4d0d07d
OPENJPA-755 Update to SingleFieldManager to permit detached related entities on a merge with cascade persist. Committing for Dinkar Rao.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@709527 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 18:39:16 +00:00
Fay Wang
1a378e13f9
OPENJPA-738: query cache performance improvement. Commit
...
the change in OPENJPA-738.11.patch on behalf of Sandhya
Turaga.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708980 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 19:06:58 +00:00
Albert Lee
7c1c9fca60
OPENJPA-754 - Add additional condition to determine if the pre/postUpdate callback should be called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708722 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:31:09 +00:00
Michael Dick
995c6a4acc
Code cleanup remove compiler warnings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@708580 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 14:15:01 +00:00
Michael Dick
e1bd3c4dcb
Code cleanup: remove some unnescessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707937 13f79535-47bb-0310-9956-ffa450edef68
2008-10-26 04:31:28 +00:00
Albert Lee
f01e6bd0d4
OPENJPA-752: Enhance exception message text to improve serviceability.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707740 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 20:35:24 +00:00
Michael Dick
284bd408f8
[maven-release-plugin] prepare release 1.3.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@707728 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 19:19:49 +00:00
Catalina Wei
e2388e9b3c
OPENJPA-738 QueryCache Improvement
...
Committing patch provided by Sandhya Sturaga
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@706481 13f79535-47bb-0310-9956-ffa450edef68
2008-10-21 00:23:29 +00:00
Albert Lee
99dc9d8a66
OPENJPA-732 - Re-commit the same original committed changes (code and tests) after test cases corrections were made.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@702348 13f79535-47bb-0310-9956-ffa450edef68
2008-10-07 05:15:05 +00:00
Albert Lee
50ff3ed693
OPENJPA-732 - Regressed a unit test. Reverting BrokerImpl back to previous level and disabling a test in the new TestMessageListener.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701266 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 22:50:41 +00:00
Albert Lee
f0ad75d7fd
OPENJPA-732 - Fixed BrokerImpl's fields of type Set to consistently use the correct implementation type of HashSet rather than ArrayList or LinkList.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@701236 13f79535-47bb-0310-9956-ffa450edef68
2008-10-02 20:41:18 +00:00
Jeremy Bauer
ab42492100
OPENJPA-733: Updated state manager to use actual oid instead of owner oid.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700563 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 19:42:11 +00:00
A. Abram White
0226888590
OPENJPA-722 resolution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@700158 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 16:07:01 +00:00
Albert Lee
07c6b1e5dd
OPENJPA-719 - Ensure English locale is used in toUpperCase/toLowerCase for locale insensitive code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698813 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 04:45:48 +00:00
Pinaki Poddar
1706670152
Introduces notion of @Replicated entity. This feature allows to relax collocation constraint for quasi-stationary master data. A replicated entity is stored as identical copies across multiple slices. The ReplicationStrategy works similar to DistributionStrategy for replicated entity. The slice association cardinality has uniformly changed to array of slices from a single slice name both for replicated and non-replicated entity. The non-replicated entities can refer to replicated entities but not vice versa. The query operation (especially the ones with aggregate function) is aware of replicated data and queries only one of the slices to avoid duplication.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@698284 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 18:58:00 +00:00
Pinaki Poddar
9803879ff9
OPENJPA-704: Add field names of path-like syntax
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696590 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 07:57:51 +00:00
Pinaki Poddar
cd5014ee54
OPENJPA-704: Changes were not assocaited with JIRA issue which was created after the change :)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694720 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 16:10:17 +00:00
Pinaki Poddar
e047748e77
Fix wrong index in data cache statisitics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694117 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 04:54:49 +00:00
Kevin W. Sutter
8e6db6cb65
OPENJPA-715. Committing the testcase provided by Ekin Sokmen and the patch provided by Fay Wang. Committing the change for both the 1.2.x service stream and 1.3.0 snapshot (trunk).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@693282 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 21:32:17 +00:00
Catalina Wei
0ea75e720e
OPENJPA-712 Not correctly parsing the "having" clause with aggregate functions (ie. max, min, etc)
...
Committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@692609 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 03:47:40 +00:00
Pinaki Poddar
2988f75fc3
OPENJPA-365: This is a token commit. Original commit is 677147 but due to typo in commit message, the JIRA issue did not get assoicated correctly with the commit 677147
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@691327 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 17:47:06 +00:00
Pinaki Poddar
cb3e1705f5
OPENJPA-620: An eagerly initialized configuration with fail-fast behavior on persistent class resolution
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@689503 13f79535-47bb-0310-9956-ffa450edef68
2008-08-27 15:49:53 +00:00
Pinaki Poddar
00c27c654a
Check for field inclusion in fetch group based on names of both decalring and defining class as owner.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@688777 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 16:57:06 +00:00
Pinaki Poddar
4dd92231c5
Generate informative error message when query fails due to wrong unbound variables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@687122 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:42:26 +00:00
Pinaki Poddar
d9712537da
OPENJPA-111: Modified tests to use correct binding parameter. Added methods in MetaDataRepository to look for NamedQuery only by name without defining class information.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686419 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 23:36:16 +00:00
Albert Lee
a7b9f8f7f3
Minor typo corrections in message files.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686401 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 22:19:24 +00:00
Albert Lee
cf0985e524
OPENJPA-111: Minor message typo corrections.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686359 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 20:34:36 +00:00
Pinaki Poddar
d76c646acc
OPENJPA-111: Validate native SQL parameters by the numbers of parameters in StoreQuery level and bypass validation at facade layer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@686349 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:38:10 +00:00
Albert Lee
404cbbf99b
OPENJPA-680 - revert changes due to TCK regression.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@685336 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 21:58:19 +00:00
Pinaki Poddar
0d3812fcb5
OPENJPA-687: Add read/write/hit statitics to DataCache/StoreCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:39:39 +00:00
Albert Lee
352d799756
OPENJPA-680 - Format changes to standard 80 columns and spacing conventions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:32:01 +00:00
Srinivasa Segu
4668ea4e77
OPENJPA-680. Consistent with the beforeRefresh call check for new unflushed instances
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683805 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 02:42:36 +00:00
Catalina Wei
e97d6d1598
OPENJPA-674 javaagent enhancer (PCEnhancerAgent) ignores persistence units after the first in persistence.xml
...
committing PCEnhancerAgent.patch provided by Dinkar Rao
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683075 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 01:28:26 +00:00
Michael Dick
e41e1dd976
OPENJPA-628. Revert changes from revision 610922 and add testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682821 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:37:39 +00:00
Pinaki Poddar
bea15fff47
OPENJPA-28: GROUP BY clause on nested sub query should not appear on top-level query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681904 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:42:01 +00:00
Pinaki Poddar
b29b9b6c76
OPENJPA-75: Error message for missing identification variable shows nearest Levensthien choice and all avaialble choices
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681807 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 20:05:18 +00:00
Pinaki Poddar
4af04f30d9
OPENJPA-187: Allow managed, unmanaged, transient entity as binding query parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681207 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 21:30:26 +00:00
Albert Lee
adb9a6e3de
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680894 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 01:09:18 +00:00
Michael Dick
64dbe4c924
[maven-release-plugin] prepare release 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:20:09 +00:00
Michael Dick
1cf3826ae8
[maven-release-plugin] prepare branch 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680506 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:19:52 +00:00
Michael Dick
191f26d72d
OPENJPA-669 DBDictionary can specify the type of native sequences.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:12:17 +00:00
A. Abram White
37d610ca2c
Fix a bug in which joined classes using an application identity hierarchy
...
couldn't be loaded correctly as an inverse relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679152 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:20:25 +00:00
Pinaki Poddar
4c0bf1be10
OPENJPA-207: Support multi-level derived identity. Enhancer has been modified.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:55:17 +00:00
Michael Dick
948c38e332
OPENJPA-633 setting consistent eol-style for pom.xml files in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677472 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 00:09:55 +00:00
Pinaki Poddar
efdbbd7a92
OPENJPA:365: Raise informative exception when user supplied id argument is wrong type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677147 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 03:59:33 +00:00
Pinaki Poddar
434319cfee
OPENJPA-659: Dirty checking fails for runtime enhanced classes. The original case reported the failure in a Spring-Tomcat-Weaver with Embdded field. But as TestSimpleUnenhancedQuery can raise the same failure in a simpler settings. The fix is related to initializing a SaveFieldManager conditional to having loaded fields at invocation of saveFields(). The fix removes the condition and ensures that a SaveFieldManager is assocaited even when saveFields() is invoked without any field loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:18 +00:00
Pinaki Poddar
94814adc39
Revert changes to exclude non-transactional states from dirty checking
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676642 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 16:54:05 +00:00
Pinaki Poddar
854eda8a19
Skip dirty check for nontransactional, runtime-enhanced instances
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676604 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 14:33:59 +00:00
Pinaki Poddar
cc85528f69
OPENJPA-656 : raise informational error on initial connection failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@675952 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:48:50 +00:00
Albert Lee
c7a9063146
OPENJPA-653 - Commit for Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@674609 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 19:41:32 +00:00
Pinaki Poddar
13e4897173
OPENJPA-647: Change cardinality of listeners for Value update so that ClassMetaData (and others) can sync with dynamic configuration changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673484 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:26:48 +00:00
Pinaki Poddar
1ad09239b3
OPENJPA-647: ClassMetaData listens to value updates of dynamic property
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673476 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 19:50:37 +00:00
Michael Dick
bae08e93e4
Fix line length
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673188 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 19:39:01 +00:00
Kevin W. Sutter
82e61ba0d5
OPENJPA-637. Reverting ConcurrentHashMap implementation per the patch provided by Jeremy Bauer. A more complete, configurable implementation is being tracked via the related sub-task OPENJPA-643.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672003 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 19:31:20 +00:00
Michael Dick
fb78813259
OPENJPA-545 committing patch provided by Jeremy Bauer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671319 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:48:23 +00:00
Pinaki Poddar
37cb4af35d
OPENJPA-581: Print WARN level message on JNDI lookup failure
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669356 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 01:41:32 +00:00
Pinaki Poddar
f62ea1ab0d
OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00
Pinaki Poddar
e00c6e8f80
OPENJPA-625: remove Embedded collection members throws exception in PCData
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar
71519b0808
OPENJPA-610: Restored refresh() behavior for clean/new instances.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +00:00
Patrick Linskey
90332224f7
Merge from ../branches/1.1.x. svn merge -c 657162 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666921 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:00:06 +00:00
Patrick Linskey
06ab9692d5
Merge from ../branches/1.1.x. svn merge -c 657148 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666920 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:44 +00:00
Patrick Linskey
12c0a094ee
Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey
5ee728e332
OPENJPA-600. Merge from ../branches/1.1.x. svn merge -c 656006 ../branches/1.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666918 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:58:16 +00:00
Patrick Linskey
753be68e24
OPENJPA-231. Merging r655354 and r655592 from 1.1.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:52:31 +00:00
Patrick Linskey
f183c42b90
Merge from ../branches/1.1.x/. svn merge -c 653088 ../branches/1.1.x/
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666909 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:50:05 +00:00
Patrick Linskey
1ac94263ac
Merge from ../branches/1.1.x/. svn merge -c 653083 ../branches/1.1.x/
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666907 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:49:12 +00:00
Patrick Linskey
e8702b1ed3
Merge from ../active. svn merge -c 653000 ../active
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666900 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:40:27 +00:00
Patrick Linskey
547438ed18
OPENJPA-579, OPENJPA-585, OPENJPA-587, OPENJPA-588. Merge from ../active. svn merge -c 652987 ../active
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666898 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:29:11 +00:00
Patrick Linskey
96dd926f4a
OPENJPA-522. Backporting r652026 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666894 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:54 +00:00
Patrick Linskey
8fb7ca2b5b
Backported r651121 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666891 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:21:46 +00:00
Patrick Linskey
4d668a44dd
Backported r650989 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666890 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:20:27 +00:00
Patrick Linskey
b589da8070
OPENJPA-245. Backported r646082 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666888 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:14:24 +00:00
Michael Dick
981c023e0e
OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Pinaki Poddar
f1ac625b2c
OPENJPA-209: Detect identical instances being added to L1 cache multiple times during a load session.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 03:33:35 +00:00
Pinaki Poddar
1fda19f8b7
OPENJPA-610: Correcting the @since version
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 19:06:01 +00:00
Pinaki Poddar
794305c2f1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661800 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 18:10:50 +00:00
Catalina Wei
dbbd1236f2
OPENJPA-612 Add support for calculating update value in QueryImpl.updateInMemory
...
Help comitting patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660825 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:08:41 +00:00
Pinaki Poddar
45693d4e7a
OPENJPA-610: refresh() hits database irrespective of clean/dirty state or current lock mode or active/inactive DataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660753 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 22:45:01 +00:00
Catalina Wei
dcada13237
OPENJPA-574 Cached object in DataCache not evicted due to StatementBatching not reporting OptimisticException
...
Handle (-2) updateCount returned from Batching for Oracle.
Got a ClassCasstException while testing multiple entries in DataCache needed to be removed due to OptimisticException.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 08:05:00 +00:00
Catalina Wei
b3f87ba1ec
OPENJPA-596 ClassCastException during in-memory update with Informix IDS 10.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658541 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 03:17:04 +00:00
Michael Dick
8c756bf655
OPENJPA-559 set SerialVersionUID to a value compatible with previous releases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@657813 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 12:43:34 +00:00
Catalina Wei
01e08029e9
OPENJPA-595 A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654885 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 17:05:45 +00:00
Michael Dick
d35bc879cb
OPENJPA-149 remove maven warnings due to invalid pom
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654858 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 15:32:49 +00:00
Catalina Wei
3187089432
OPENJPA-589 Can not retrieve M-to-M data when DataCache is on
...
committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654658 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 00:13:48 +00:00