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
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
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
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
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
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
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
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
Michael Dick
4994981795
OPENJPA-1338:
...
Setting svn:eol-style = native for new files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822708 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 13:11:21 +00:00
Catalina Wei
6ab4b48d55
OPENJPA-1339 JPA2 JPQL GROUP BY embeddable is not allowed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822562 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 02:47:16 +00:00
Catalina Wei
73e9f4d2b6
OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822530 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 22:36:08 +00:00
Catalina Wei
1b91bd3b58
OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822528 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 22:22:09 +00:00
Catalina Wei
020d46ef12
OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822330 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 16:13:33 +00:00
Richard G. Curtis
5b9c0cb8f8
OPENJPA-1124: Adding @AllowFailure to failing test variation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822307 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 15:04:06 +00:00
Richard G. Curtis
63a3408d7d
OPENJPA-1224: backing out changes while investigating a test regression.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822288 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 14:14:49 +00:00
Fay Wang
c14838950c
OPENJPA-1330: support join table strategy for uni-directional many-to-one relation and uni-/bi-directional one-to-one relation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820839 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 23:18:56 +00:00
Donald Woods
fa02d2a5fa
OPENJPA-1229 get rat-maven-plugin passing again, as any file included in the source distribution has to pass rat:check
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820779 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 20:44:24 +00:00
Fay Wang
c2a723816b
OPENJPA-1330: bi-directional many-to-one/one-to-many using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820748 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 18:49:05 +00:00
Donald Woods
797de03a10
OPENJPA-1229 Update NOTICE files to match new ASF/Sun agreement for releasing early access specs. Also point to new geronimo-staging-017 to pickup latest spec releases under vote with updated notices.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820684 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 15:19:10 +00:00
Donald Woods
02471ca7e7
OPENJPA-1229 Reworked Persistence.createEMF() exception handling in the geronimo-jpa2 spec api (PFD2), which wraps all exceptions in a PersistenceException and can now return multiple provider exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820440 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 20:49:09 +00:00
Richard G. Curtis
c06481b452
OPENJPA-1224. Updated DBDictionary and AbstractDB2Dictionary to properly support java.math.BigDecimal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820050 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 18:12:15 +00:00
Pinaki Poddar
baf800f3b0
OPENJPA-1050: Use generics for BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Pinaki Poddar
9f24d10ecd
OPENJPA-1050: Use generics for DataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819771 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 23:51:33 +00:00
Milosz Tylenda
450f8352f8
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@819658 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 17:37:54 +00:00
Michael Dick
562b4942df
OPENJPA-1115:
...
Setting svn:eol-style native on new files
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819560 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 14:36:49 +00:00
Michael Dick
174f2af0de
OPENJPA-1253:
...
Setting svn:eol-style = native
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819549 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 14:23:36 +00:00
Fay Wang
bb3e1a5185
OPENJPA-1253: check in test case of join table strategy for bi-directional one-to-many using Map with entity as map key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819163 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 16:17:32 +00:00
Fay Wang
9eeb4b2fbd
OPENJPA-1253: check in test case of join table strategy for bi-directional one-to-many using Map with entity as map key
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819162 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 16:16:32 +00:00
Fay Wang
9f29552e85
OPENJPA-1253: support foreign key strategy for uni-directional one to many mapping using Map with entity as the Map key.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819139 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 13:42:19 +00:00
Jeremy Bauer
28573bfcfd
OPENJPA-1115 Allow schema-less delimited id tests to fail until intermittent cleanup issue is resolved. Removed duplicate test case and unnecessary em creation in test framework database support methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819093 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 05:26:35 +00:00
Jeremy Bauer
5f03f77b5c
OPENJPA-1115 Fix DB2 failure in schema test. Disable non-schema tests on DB2 until DB2 cleanup related exception is resolved.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819082 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 01:12:53 +00:00
Donald Woods
dc3c2c43ed
OPENJPA-1116 revert back to CLEAR_TABLES for speed
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819012 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 21:15:22 +00:00
Jeremy Bauer
cafbd559d2
OPENJPA-1115 Targeted delimited id tests for specific DB platforms based on schema support/usage. Includes test updates contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818987 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 20:15:12 +00:00
Jeremy Bauer
22391c9133
OPENJPA-1116: Cleanup via SynchronizeMappings SchemaAction directive
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818960 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 19:17:14 +00:00
Donald Woods
eb8abb81fc
OPENJPA-1116: try DROP_TABLES
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818909 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 16:23:31 +00:00
Donald Woods
a6af0f35e2
OPENJPA-1116: fix test case error on non-Derby DB by adding CLEAR_TABLES
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818891 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 15:53:44 +00:00
Fay Wang
ef54e75107
OPENJPA-1253: support bi-directional one-to-many map using join table strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818616 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 20:26:04 +00:00
Donald Woods
d8eadfe600
OPENJPA-1116: fix test case error on some DBs by providing a unique table name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818518 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 15:34:22 +00:00
Fay Wang
067a6f0ffb
OPENJPA-1253: support non-default uni-directional one to many map using foreign key strategy
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818410 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 09:00:12 +00:00
Fay Wang
65ff86ce24
OPENJPA-1116: fix test case error by providing a unique table name.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818385 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 07:08:35 +00:00
Jeremy Bauer
2a98f2b93d
Fix SQL comparison failures in bidi eager tests on Oracle by using standard sql92 join syntax.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818349 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 02:32:38 +00:00
Jeremy Bauer
5d3fd3a726
Update TestEJBQLFunction test to assert empty strings as null for the Oracle DB.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818337 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 01:06:50 +00:00
Donald Woods
c5954aa4a5
OPENJPA-1116 Update PU name to reflect the test name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818215 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:17:06 +00:00
Donald Woods
85a609aa5d
OPENJPA-1116 Annotation Strategy not working. Checking in testcases as code patch already committed in r808703 by Pinaki. Patches contributed by Ashish Paliwal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@818212 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 19:12:07 +00:00
Fay Wang
6f1b9627fe
OPENJPA-1253: support non-default bi-directional one-to-many using foreign key strategy to find/query from the ower's side
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817831 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:38:36 +00:00
Jeremy Bauer
01c26a9e21
Updated test code to use mapping tool to regenerate subset of DB artifacts if running on Oracle. This will create the triggers required to support generated identity columns.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817815 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 20:15:07 +00:00
Michael Dick
f1af41c44c
OPENJPA-1298:
...
Remove WriteBehindCallbackManager which 'shared' a single callback with multiple EMFs unintentionally
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817679 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:45:26 +00:00
Fay Wang
19da9769b0
OPENJPA-1253: support non-default uni-directional OneToMany mapping using foreign key strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817399 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:21:50 +00:00
Donald Woods
828e08ee0e
OPENJPA-1182 Backwards compatibility issues - PreUpdate and PostUpdate behavior. Patch contributed by Tim McConnell with some minor package name and version checking changes. Doc updates by Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817389 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 20:01:44 +00:00
Catalina Wei
e53f8514f4
OPENJPA-1309 fix testcase for DB2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817382 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 19:23:25 +00:00
Fay Wang
5c23058b0e
OPENJPA-1253: support non-default bi-directional one to many using Join Table/Join column annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817131 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 02:13:18 +00:00
Fay Wang
cf7f69bbd5
OPENJPA-1253: support non-default One-To-Many mappings
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816795 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 21:53:47 +00:00
Donald Woods
9467818818
OPENJPA-1310 SQLServer requires JAXB marshalled XML to be in UTF-16 instead of UTF-8. Also updated some of the XmlElement names to match the case used in the XmlType annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816767 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 20:06:12 +00:00
Catalina Wei
3f43e3dd0e
OPENJPA-1309 DB2 requires CAST for argument passed to datastore MOD function
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816737 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 18:38:00 +00:00
Michael Dick
1c0b9849f1
Remove uneeded imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816671 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 15:33:11 +00:00
Jeremy Bauer
95a2c8f680
Fix SQL comparison failures in Criteria query by example tests on Oracle by using standard sql92 join syntax.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816392 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 21:46:56 +00:00
Donald Woods
ac23a55b68
OPENJPA-1213 Additional Compatibility tests (patch #2 ) showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816330 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:44:29 +00:00
Michael Dick
846d1ef82a
OPENJPA-1173:
...
Revert driver update (not in repo yet).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816320 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:31:10 +00:00
Michael Dick
1318f98bc4
OPENJPA-1173:
...
Updating postgresql test dependency to v8.4-701
Submitted By: Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816317 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 18:10:09 +00:00
Donald Woods
daadd62bd2
OPENJPA-1213 Use OpenJPAVersion for handling expected test result differences
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816295 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:29:01 +00:00
Donald Woods
cbe18c2f74
OPENJPA-1213 Compatibility tests showing change in query.setParameter() behaviour. Contributed by Tim McConnell, but with some package name and OpenJPAVersion checks added.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816289 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 17:22:49 +00:00
Donald Woods
a94bb8ee06
OPENJPA-1214 moving testcases to the existing compat package
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816187 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 13:44:03 +00:00
Fay Wang
8c1e1a7ea5
OPENJPA-1253: support non-default uni-directional OneToMany using foreign key strategy, using JoinColumn annotation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816085 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:49:13 +00:00
Fay Wang
72f2cb8516
OPENJPA-1253: allow JoinColumn in conjunction with OneToMany annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 22:13:26 +00:00
Jeremy Bauer
8fc1404dad
Modify entity definitions to avoid Oracle reserved words.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815473 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 20:38:07 +00:00
Pinaki Poddar
3146afb1bc
Persistence attribute type for singular attributes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815396 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 16:59:21 +00:00
Fay Wang
a9ea5c1817
OPENJPA-1151: fix test case error for MySQL. DB object in MySQL is case-sensitive.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815369 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:38:12 +00:00
Fay Wang
c353d0541e
OPENJPA-1151: fix this test case error for MySQL. DB object in MySQL is case-sensitive.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815366 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:28:10 +00:00
Pinaki Poddar
643f4d130f
Configure for trigger for auto-assign in Oracle
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 03:33:28 +00:00
Donald Woods
492a19573c
OPENJPA-1151 Cache the current-time timestamp in AbstractQueryCache.onTypesChanged(). Updated tests contributed by Jody Grassel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814802 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 19:39:36 +00:00
Donald Woods
b8dde5761f
OPENJPA-1214 Testcase to demonstrate RelationFieldStrategy behaviour differences between OpenJPA 1.x and 2.0. Testcase contributed by Tim McConnell. Doc updates by Donald Woods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814739 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 17:20:48 +00:00
Donald Woods
416b8d3ccb
OPENJPA-1227 SQL generation error when using data cache. Patch and testcase contributed by David Minor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814706 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 15:42:03 +00:00
Donald Woods
ee9210be92
OPENJPA-1201 [Mapped by] field not set when contained in superclass. Patch and testcases contributed by David Minor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814662 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 14:29:34 +00:00
Donald Woods
b889ccb834
OPENJPA-1247 WriteBehindCallback sleepTime interval of one EMF datacache adversely impacting other EMF datacache (testcase for OPENJPA-1296). Contributed by Tim McConnell.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814644 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 13:54:59 +00:00
Milosz Tylenda
e9b5c53fd0
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@814295 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 10:02:01 +00:00
Pinaki Poddar
d7b4296c8f
Failed Oracle test on bad column name 'date'.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814105 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 02:49:29 +00:00
Fay Wang
60e55574c8
fix BigDecimal problem in the test case for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814085 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 23:41:34 +00:00
Fay Wang
15b5ec20dd
fix unique constraint syntax in the test case for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814029 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 21:05:30 +00:00
Donald Woods
46734cf443
OPENJPA-1184 apply source formatting to new files
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813990 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 19:27:08 +00:00
Donald Woods
32c6ca132c
OPENJPA-1184 Testcase contributed by David Minor.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813985 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 19:09:20 +00:00
Pinaki Poddar
b573799fc3
OPENJPA-1013: Tighten access to instance variables/methods.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813659 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 03:24:27 +00:00
Pinaki Poddar
df860912a7
OPENJPA-1288: stop re-alias(). Added new utility to check validity of names for JPA reserved words and special symbols.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813658 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 03:22:00 +00:00
Kevin W. Sutter
dac8af35b4
OPENJPA-1260. Committing this change for Ravi Palacherla. Mike had previously reviewed the patch for correctness. Ravi changed the patch slightly and re-submitted. Based on a request from the mailing list, I reviewed Ravi's second patch and am committing the changes with a couple of minor modifications. I updated the comments slightly to make sentences. And, I moved the testcases to the "generationtype" package to be with similar testcases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813597 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 21:35:57 +00:00
Donald Woods
fa49080f8f
back out last getLog() additions, which caused failures on when not using Derby
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813568 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 20:02:52 +00:00
Jeremy Bauer
b5fabd88dd
OPENJPA-869 Fixup order column test variations failing on Oracle.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813556 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 19:31:01 +00:00
Donald Woods
0d3179cef9
updated getLog() methods and switched testcase to use setUnsupportedDatabases()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813519 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 17:16:31 +00:00
Pinaki Poddar
8e96965225
OPENJPA-1288: alias() first version. Assumes in-place change and does not create new instance. Retired TupleElementImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813514 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:58:44 +00:00
Donald Woods
5113654485
add common setTestsDisabled()/isTestsDisabled() in AbstractPersistenceTestCase which is used by runTest() to automatically skip all tests. added new setSupportedDatabases()/setUnsupportedDatabases() methods in SingleEMFTestCase to set the testsDisabled flag in AbstractPTC, along with moving a getLog() method from some testcases into the base SingleEMFTC class for everyone to use.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813506 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:40:37 +00:00
Donald Woods
a543403d2a
remove encoded chars to fix build issue with IBM 5 SDK
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813433 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:40:10 +00:00
Fay Wang
94a0bc3781
OPENJPA-1270: check in test case for this JIRA
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813125 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 21:23:48 +00:00
Donald Woods
2691db6e0b
add a log.trace to denote the tests are being skipped for some DBs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@812974 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 14:29:09 +00:00
Donald Woods
a875ef52b1
Updates to r812712 by Fay to also exclude tests for MSSQL and Oracle DBs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@812958 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:45:06 +00:00
Fay Wang
435f66e273
exclude this test case for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@812712 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 22:14:32 +00:00
Fay Wang
702a9c6616
fix test case problem for MySQL (microseconds are not stored in the MySQL Temporal column)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@812689 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 20:45:07 +00:00
Fay Wang
45f79b59af
fix test case problem for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811975 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 02:16:17 +00:00
Fay Wang
e33f83901f
fix test case problem for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811876 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 20:29:15 +00:00
Fay Wang
f45899eee8
fix test case problem for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811767 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 06:05:39 +00:00
Fay Wang
c39ec8a6de
fix test case problem for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811759 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 04:47:28 +00:00
Fay Wang
f246cb19b4
fix test case problem for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811754 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06 04:01:29 +00:00
Fay Wang
35ef9efaec
fix MySQL test case problem.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811557 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:23:43 +00:00
Fay Wang
7bcdee7a60
fix test case problem for MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811510 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 18:28:29 +00:00
Catalina Wei
301fc200d1
Fix testcase : SQL assertion for Derby only
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811012 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 16:22:06 +00:00
Pinaki Poddar
e01390051b
OPENJPA-1278,OPENJPA-1276,OPENJPA-1013:
...
Modify negation of predicate logic
Promote interfaces from internal implementaion argument to public interfaces
Add Fetch Join and logical precedence order to CQL generation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810825 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:52:17 +00:00
Catalina Wei
5d6581bf7f
OPENJPA-1283 Incorrect SQL for a JPQL query selecting Map value from an elementCollection of a Map and the map the value is an embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810744 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 00:45:17 +00:00
Pinaki Poddar
817696298d
OPENJPA-1276: preserve precedence order while rendering logical operators/operands
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810685 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 19:47:10 +00:00
Pinaki Poddar
0036dc5bfb
OPNJPA-1275: Align with JPA 2.0 Public Draft 2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810347 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 03:03:48 +00:00
Fay Wang
ac939f7b5f
OPENJPA-1281: fix reparameter when PreparedQueryCache is on
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810331 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 01:46:54 +00:00
Michael Dick
82cda8b8d5
remove author tag
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810229 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 20:50:32 +00:00
Pinaki Poddar
e39a9a09e0
OPENJPA-1278,OPENJPA-1276,OPENJPA-1265:
...
Add new OpenJPACriteriaXYZ interface for extended features.
Draft version of conversion of Criteria Query to a JPQL-like string
The getter methods return non-live, non-null, mutable lists/sets
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810212 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 20:16:19 +00:00
Michael Dick
69cf52f68d
OPENJPA-1279:
...
Adding testcases and fixing cache exclusion logic in DataCacheStoreManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810197 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:48:09 +00:00
Jeremy Bauer
e6ccbb0c0d
OPENJPA-1274 Support cascade detach specified in an XML mapping file
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@809797 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 02:06:03 +00:00
Jeremy Bauer
f13af4a400
OPENJPA-1272 Test was not cleaning up after itself properly. This was causing failures on some build configurations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@809671 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 17:42:03 +00:00
Pinaki Poddar
f214d9f397
OPENJPA-1013: Visitor pattern on criteria expressions
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@809037 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 21:37:45 +00:00
Pinaki Poddar
0795778d3d
OPENJPA-1013: Visitor pattern for collecting declared parameters. Editing with parameters. Search within result usage.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@809036 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 21:32:29 +00:00
Jeremy Bauer
fe44661dc2
OPENJPA-1272 Add testcases for association overrides applied to element collection with domain model defined in XML.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@809035 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 21:29:36 +00:00
Michael Dick
d02f0688ae
OPENJPA-1271:
...
Missed a class on previous commit
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808991 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:12:35 +00:00
Michael Dick
991cdcae7d
OPENJPA-1271:
...
Enable CacheStoreMode and CacheRetrieveMode properties to be set for an EntityManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808981 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 18:25:08 +00:00
Fay Wang
78e93abb51
OPENJPA-1269: honor the table attribute in the MapKeyColumn annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808750 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 04:27:53 +00:00
Pinaki Poddar
250186fbcb
OPENJPA-1100: Raise exception for unsupported version field type rather than silently ignoring
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808725 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 01:39:15 +00:00
Pinaki Poddar
149dbef93b
OPENJPA-1116: Setting strategy on FieldMappingInfo instead of ValueMappingInfo. RuntimeStrategyInstaller installs strategy from FieldMappingInfo. Contributed by Ashish Palliwal.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808703 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 00:54:52 +00:00
Pinaki Poddar
6305be480b
OPENJPA-1225: Fail fast on wrong constructor() argument
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808513 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 16:53:50 +00:00
Pinaki Poddar
39da6319dd
OPENJPA-1265: move test case
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808401 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 12:38:33 +00:00
Michael Dick
f06d862ec6
OPENJPA-386:
...
Handle abstract and non abstract MappedSuperClasses identically.
Submitted By: Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:26:37 +00:00
Pinaki Poddar
f6ae418aa5
OPENJPA-1267: JDBC Escape Syntax for temporal type data in Criteria Query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808235 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:26:00 +00:00
Fay Wang
9177e9369a
OPENJPA-1266: JDBC escape syntax for date, time, timestamp support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808198 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:01:25 +00:00
Pinaki Poddar
f68c531a5b
OPENJPA-1265: Support edit of Criteria Query.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808158 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:54:30 +00:00
Fay Wang
e19c75a9c3
OPENJPA-1266: JDBC escape syntax for date, time, timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807851 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:22:59 +00:00
Jeremy Bauer
ec43fccfff
OPENJPA-1262 ORM Schema updates for EA7
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807686 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 16:14:00 +00:00
Michael Dick
964ab657ce
OPENJPA-1264:
...
Enable shared-cache-mode persistence.xml element.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807662 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:08:16 +00:00
Fay Wang
9a4406038e
OPENJPA-1174: default fetch type for ManyToOne and OneToOne is eager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807602 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 13:04:12 +00:00
Catalina Wei
049c91707b
OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
...
add table name in Address entity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807479 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 05:02:44 +00:00
Catalina Wei
388b18650f
OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807446 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 01:19:32 +00:00
Michael Dick
ee5506d3d4
OPENJPA-1261: Set svn:eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807248 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:41:36 +00:00
Catalina Wei
917b49befe
OPENJPA-1261 JPQL query result shape for multi-selections including multi-select-new-constructor
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 17:47:06 +00:00
Michael Dick
7c8454767e
Fixing svn:eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806726 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 21:28:08 +00:00
Michael Dick
bb7048d27c
OPENJPA-1200:
...
Discriminator column ignored for in select statement for OneToMany relationships.
Submitted By : Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806693 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 19:55:09 +00:00
Catalina Wei
2615a9b426
OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
...
Bulk update of embedded field is not allowed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806675 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 18:53:40 +00:00
Donald Woods
5b9b5d7725
OPENJPA-1252 Include a Derby Network Server w/ JCC driver test profile and cleanup some other profiles.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806022 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 02:30:09 +00:00
Fay Wang
21d88cadc7
OPENJPA-1256: fix ClassCastExcepton when IdClass contains an ENUM type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806011 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 00:03:30 +00:00
Donald Woods
7065743f17
OPENJPA-1252 Include a Derby Network Server test profile, allow Derby version to be changed on the cmdline, and cleanup some formatting/comments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:36:02 +00:00
Donald Woods
30a7da0ba2
additional test for embeddable, elementcollection and lob
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805573 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:45:21 +00:00
Pinaki Poddar
4e6a98f634
OPENJPA-849,OPENJPA-1251: Property management, hidden values
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805567 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 20:27:30 +00:00
Fay Wang
c35c13497b
OPENJPA-1250: fix ClassCast exception with eagerly fetched ElementCollection
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@805090 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 18:47:59 +00:00
Michael Dick
49e554ac6c
OPENJPA-1237:
...
Throw configuration exception for missing options when using WriteBehind.
Submitted by : Tim McConnell
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804539 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 23:25:35 +00:00
Catalina Wei
dc316323ba
OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804419 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 00:32:59 +00:00
Catalina Wei
92fcf33575
OPENJPA-1185 Subquery restructure code
...
cleanup comments in testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804418 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 00:30:09 +00:00
Michael Dick
b8c7ce58ad
OPENJPA-1245:
...
Pom.xml cleanup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:29:34 +00:00
Michael Dick
88dcd580d8
OPENJPA-1245:
...
Move lockmode tests to a separate module. This allows different derby lock settings to be set on persistence-jdbc which should speed up test execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804335 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:30:05 +00:00
Michael Dick
286f708d7d
o.a.o.p.common.utils.AbstractTestCase extends AbstractCachedEMFTestCase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804332 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:28:47 +00:00
Michael Dick
89a7f53db0
Refactor PersistenceTestCase to AbstractCachedEMFTestCase and AbstractPersistenceTestCase.
...
Deprecate old class to allow submodules to compile (can be removed after maven repos is updated).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804331 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:28:39 +00:00
Michael Dick
9eb8af5a72
OPENJPA-948:
...
Adding support for Ingress database (new dictionary, build config etc.).
Submitted by : Alan Raison
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804261 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 15:29:35 +00:00
Michael Dick
3f6ab72c52
Refactoring QueryTest class and entities
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804068 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 01:59:56 +00:00
Catalina Wei
c9695c2fb9
OPENJPA-1885 Subquery restructure code
...
add more test string in TestSubquery
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804037 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 21:47:39 +00:00
Fay Wang
06bd0d64e7
OPENJPA-1143: further clean up testcase
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804024 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:53:29 +00:00
Fay Wang
222e01d2f3
OPENJPA-1185: criteria embeddable subquery support
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@804013 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:02:42 +00:00
Fay Wang
a488a122cf
OPENJPA-1242: fix cascade delete for 1-1 relation in an embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803763 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 03:08:55 +00:00
Michael Dick
6c2e3e2d03
OPENJPA-1189:
...
Try delimited table names if we can't find a match for non-delimited names
Submitted by : Dianne Richards
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803720 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 21:45:51 +00:00
Pinaki Poddar
a445c1c4bd
OPENJPA-687: add statsics while datacache is queried with contains()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803661 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 18:43:48 +00:00
Pinaki Poddar
21cece4f71
OPENJPA-1241: Support MapJoin.joinKey() for JPA 2.0. Needs special treatement because unlike other joins keys of Map is not an explicit persistent attribute. Introduces a notion of pseudo-attribute (Map.keySet()) of a pseudo managed type (a java.util.Map).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803657 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 18:35:47 +00:00
Jeremy Bauer
3dda949ce4
OPENJPA-1115 Committing code and test updates contributed by Dianne Richards
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803612 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 17:22:52 +00:00
Fay Wang
d5f14ebc02
OPENJPA-1240: Lob, Temporal, Enumerated on element collections annotations and in XML
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803547 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 15:03:45 +00:00
Jeremy Bauer
5b68196cf1
OPENJPA-1239 Corrected method which determines explicit access type to set explicit bit
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@803354 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 02:31:53 +00:00
Pinaki Poddar
dc061e904f
OPENJPA-1225:
...
Refactor FillStrategy out of ResultShape enum to a separate interface.
Introduce CompoundSelections.MultiSelect
Use ObjectFactory for Tuple to save memory
Tune CriteriaExpressionBuilder to new result packing
Isolate ResultPacker (JPQL) from ResultShape (Criteria) completely
Implement getSelection() for JPA 2.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802984 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 03:02:45 +00:00
Fay Wang
2b24b76a9c
OPENJPA-1143: keys(map) and values(map) support for Criteria API.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802929 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 21:32:52 +00:00
Jeremy Bauer
9af553bc8d
OPENJPA-1235 Added support for named unique constraints
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802864 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 17:03:42 +00:00
Michael Dick
fb2a45a739
OPENJPA-1234:
...
AllowFailure checks for system property before running or logging exceptions from test methods.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802587 13f79535-47bb-0310-9956-ffa450edef68
2009-08-09 20:38:58 +00:00
Michael Dick
3ec9136da7
OPENJPA-651:
...
Default setting for RuntimeUnenhancedClasses = unsupported.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802457 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 21:03:56 +00:00
Pinaki Poddar
2d120b6363
OPENJPA-1013: 1. Avoid both LHS and RHS parameterized as ? = ? in SQL. Some databases do not like it.
...
2. handle constant literal or empty arguments for Criteria predicates .
3. Parameter registration for subqueries roll up to the parent
4. MapKey of kernel is not a path so allPathImpl.toValue() is not kernel.Path
5. Clean up tests. Local result: Total : 435 Fails: 14 locally
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802273 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 23:57:51 +00:00
Michael Dick
1b769e629c
Refactor write behind testcase to use static EMFs.
...
modified: openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/jdbc/writebehind/AbstractWriteBehindTestCase.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802261 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 22:45:35 +00:00
Michael Dick
3b327b5fbb
OPENJPA-1232:
...
Call toNestedFields for Map Keys as well as Map values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802211 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:31:45 +00:00
Michael Dick
a54f47dfc8
Setting table name for Item to avoid collisions with o.a.o.p.simple.Item.
...
M Item.java
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802207 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 21:29:30 +00:00
Michael Dick
38cd47a76d
OPENJPA-1222:
...
remove @AllowFailure on tests that pass
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802138 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 18:35:16 +00:00
Pinaki Poddar
d5fdddb9bf
OPENJPA-1180: Parameter indexing for CriteriaQuery is the order of their registraion
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@802104 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 17:43:48 +00:00
Donald Woods
637880e8d3
add comment about needing to use MSSQL sqljdbc4 driver with Java SE 6 or later
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801405 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 20:36:08 +00:00
Michael Dick
a84c76fea7
OPENJPA-1222:
...
Removing sys.err.printlns, unused variables, and some formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801195 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 12:49:49 +00:00
Fay Wang
a4a94f5331
OPENJPA-1226: fix merge entities with nested embeddables
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801052 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 02:56:41 +00:00
Pinaki Poddar
baaec8148b
OPENJPA-1225: Shape of Result for Criteria query. Draft.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801045 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 02:07:54 +00:00
Michael Dick
5364ba58b9
OPENJPA-1222:
...
Fixing build problem with Sun JDK 6
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@801027 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 23:42:57 +00:00
Michael Dick
52ee68b7a1
Remove system.out.println from test class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800970 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:56:44 +00:00
Jeremy Bauer
63cacaa1c9
OPENJPA-1208 Set compatibility options and validation mode based on persistence version.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800951 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:32:49 +00:00
Michael Dick
33bd1d4aac
OPENJPA-1222:
...
Fix tabs in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800879 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 17:19:54 +00:00
Michael Dick
1c9aef0481
OPENJPA-1222:
...
Enabling and refactoring Criteria testcases. The Criteria testcases use a static EMF which requires the entity model to be known up front - refactoring creates a separate EMF for the embeddable and joined models.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800847 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 15:36:18 +00:00
Donald Woods
df073249f5
OPENJPA-1107 Updated TraversableResolver that calls only our OpenJPAPersistenceUtil. Updated OpenJPAPersistenceUtil.isLoaded() to handle UnsupportedOperationException when checking a detached entity and returns LoadState.UNKNOWN. Also added a testcase in TestPersistenceUtil to verify that caller gets isLoaded()==true for a detached entity and fixed a trace output in TestConstraints.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800568 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 21:14:43 +00:00
Michael Dick
7658c64e16
OPENJPA-1163:
...
Forgot new classes in previous commit (testcase and entity).
Submitted By : Ravi Palacherla
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800566 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 21:10:19 +00:00
Michael Dick
86ebcbe115
OPENJPA-1194:
...
Make waitInMsec static to prevent re-running speed test for each test method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800441 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 16:02:27 +00:00
Michael Dick
1f9f4d68ef
OPENJPA-1220:
...
Set openjpa.DynamicEnhancementAgent to false for maven builds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@800404 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 14:31:01 +00:00
Pinaki Poddar
bde4708bac
OPENJPA-1180: Parameter processing for JPA 2.0. Query now distinguishes between bound and declared parameters. Holds all bound parameters in a single data structure instead of named/positional parameters in separate maps.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799848 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 12:03:09 +00:00