Commit Graph

2808 Commits

Author SHA1 Message Date
Jeremy Bauer ec7f6f5b01 Modified same named entities to use unique table names. Also corrected an NPE in test cleanup which occurred when embeddable metadata was present in the metadata repository.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828786 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 17:12:01 +00:00
Michael Dick 105d46c6ea OPENJPA-1308:
Remove extraneous cast of VARCHAR to VARCHAR for DB2.
Submitted By: B.J. Reed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828772 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 16:19:17 +00:00
Richard G. Curtis 5d793884e6 OPENJPA-859: Fix checkstyle error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828278 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 01:41:03 +00:00
Richard G. Curtis 7a46717616 OPENJPA-859: Restructured testcase. Minor formatting change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828242 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 22:45:36 +00:00
Donald Woods 721c6ce211 shouldn't be building osgi-tests right now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828113 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 17:24:44 +00:00
Albert Lee e69163bdd5 Removed/re-factored unneeded trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828103 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 16:58:23 +00:00
Albert Lee 330b1f657a Re-factor unnecessary String concatenation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828079 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 16:15:53 +00:00
Richard G. Curtis f7568decb9 OPENJPA-859: Recommitting 818928. Added new test scenario for partial xml defined embeddable that implements Serializable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828072 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:57:00 +00:00
Donald Woods c753ce2278 OPENJPA-767 Start of true OSGi support, which uses the r828047 changes in the Geronimo JPA2 1.0-EA9 spec to resolve/load providers in OSGi. Still lots of work needed, so this is not in the normal builds yet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828051 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 15:33:44 +00:00
Pinaki Poddar 8abd836dcf OPENJPA-1334: Support instance-based cache partition
move type-based cache eligibility logic to DataCacheManager from ClassMetaData.
Calibrate tests to new eligibility policy

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827788 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 20:47:12 +00:00
Jeremy Bauer 04df2fac82 OPENJPA-1115 Committing code and tests contributed by Dianne Richards. This commit cleans up some issues with manual/user specified delimiters and adds initial support for full delimiting via the delimited-identifiers element in orm.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827727 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 16:31:39 +00:00
Pinaki Poddar 2ef5d26a8e OPENJPA-1355: Correct argument list for Postgres dictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827712 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 15:54:34 +00:00
Jeremy Bauer 1dc5b3bd83 OPENJPA-926 Switch access type modification to log at trace instead of warning level. An access type change is normal under conditions such as XML overrides. A warning could be misconstrued as a problem that needs to be corrected in OpenJPA or application code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827638 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 15:00:48 +00:00
Pinaki Poddar 59c81b98aa OPENJPA-1121: Load user-defined Enums.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826959 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:40:40 +00:00
Pinaki Poddar afb95a595f OPENJPA-1085: Add toString() to PCStates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826953 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:02:19 +00:00
Pinaki Poddar 6d6645b7ed OPENJPA-1085: Add toString() to PCStates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826951 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 04:49:13 +00:00
Pinaki Poddar cc9644dafe Register type alias eagerly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826944 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 03:58:17 +00:00
Fay Wang 22054669db OPENJPA-871: derived identity test case using orm xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826848 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 22:41:21 +00:00
Catalina Wei 58ebc6d9f1 OPENJPA-1327 JPQL Query Doc update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826738 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 18:01:40 +00:00
Donald Woods 737f17fc26 OPENJPA-1101 bundle metadata tweaks for osgi tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826665 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 13:24:29 +00:00
Milosz Tylenda c95593d8e2 OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826264 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 14:49:54 +00:00
Milosz Tylenda 18f0e74899 OPENJPA-1153: Exclude TestEJBTransactionalClass since it actually tests nothing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826257 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 14:09:18 +00:00
Catalina Wei a32bb62381 OPENJPA-1185 Subquery overhaul
fix subquery correlation involving association table

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826135 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17 00:07:04 +00:00
Fay Wang acab37ec81 OPENJPA-871: maps-id xml support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826130 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 23:22:25 +00:00
Donald Woods 139b6bb245 OPENJPA-1353 fix bad attribute
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826109 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:14:10 +00:00
Donald Woods 9d58228dc6 OPENJPA-1353 add legal info to the docs and properly add the appendices as a section
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826106 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 22:09:24 +00:00
Albert Lee 732e45caba Remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826076 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 20:35:07 +00:00
Fay Wang 6d964387c8 OPENJPA-1013: Refactor correlated plural joins
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825969 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:01:08 +00:00
Pinaki Poddar 85e631a193 OPENJPA-1334: Support partitioned cache with instance-level distribution policy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825768 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 05:07:56 +00:00
Fay Wang 79a4b76fdf OPENJPA-1352: fix instantiation of proxyCollection/Map for Arrays.asList
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825700 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:35:42 +00:00
Fay Wang 65d2ea8b19 OPENJPA-1351: fix ClassCastException when downlevel jdbc driver is used.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825699 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:32:44 +00:00
Richard G. Curtis 6d50e87a03 OPENJPA-250: Have preload process registered classes. Added simple preload testcase. Fixed problem where preloading wasn't being enabled due to a change in 821925.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825623 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 19:28:23 +00:00
Tim McConnell bb205a29c9 OPENJPA-1348 Use @AllowFailure annotation rather than commenting out failing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825161 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 15:09:58 +00:00
Jeremy Bauer cc59e096ef OPENJPA-1349 Spec version property was being prematurely removed from the config map in the create container emf path. Spec version was always set to 2.0, thus compatibility and other options were not set properly for a 1.0 persistence.xml. Also added a test framework class that allows pseudo-testing of the createContainerEMF path using a specific persistence.xml and pu name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825006 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 04:01:45 +00:00
Tim McConnell 52fdddcf38 OPENJPA-1348 Add testcase to demonstrate WriteBehind cache flush operation failure using embeddable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825000 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 02:44:20 +00:00
Donald Woods f1fc076840 OPENJPA-1347 Upgrade to Validation 1.0 GA API
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824890 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 19:29:13 +00:00
Pinaki Poddar 454afa0249 OPENJPA-1050: Use generics for AbstractDataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824878 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 18:46:35 +00:00
Jeremy Bauer bdd3014b5f OPENJPA-1345: Update schemas to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824847 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 17:19:45 +00:00
Donald Woods 8956f17824 OPENJPA-1347 Upgrade to Validation API 1.0.0.GA and Hibernate 4.0.0.GA for bean validation testing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824805 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 15:26:41 +00:00
Pinaki Poddar 4f5a9dd676 OPENJPA-1345: Missing files from TeamCity auto-commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824574 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:57:15 +00:00
Pinaki Poddar 05d2a80417 OPENJPA-1345: Update to JPA Spec version EA9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824568 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 02:06:19 +00:00
Pinaki Poddar f74e988088 OPENJPA-1341: PostRemove callback trigger points
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824454 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 18:48:10 +00:00
Albert Lee 87e07a9d47 OPENJPA-1344 Add checks for needed exception conditions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824406 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 16:17:34 +00:00
Pinaki Poddar 60b8e64ec9 OPENJPA-1342: A simple mechanics to test with container managed transaction semantics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824384 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 15:28:02 +00:00
Albert Lee eb41b03ff4 OPENJPA-1344 Add checks for needed exception conditions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824213 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 01:49:30 +00:00
Milosz Tylenda bc11397912 OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824071 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 13:35:43 +00:00
Pinaki Poddar 3c8b756ce5 OPENJOA-1342: Support simple/basic container test harness for managed transaction
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823997 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 01:52:34 +00:00
Milosz Tylenda 47a90dae98 OPENJPA-1321: Documentation corrections for SequenceGenerator and OracleDictionary properties provided by Brian Kalbfus
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823924 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 19:28:59 +00:00
Milosz Tylenda 0e8cf0dc0b OPENJPA-1153: Speed tests up by using only needed entities rather than all entities from persistence.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823649 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 18:11:23 +00:00
Pinaki Poddar 60491eb4d8 Recognize javax.persistence as a valid property prefix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823328 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 21:17:47 +00:00