Commit Graph

2803 Commits

Author SHA1 Message Date
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
Fay Wang d2cc5e0360 OPENJPA-1286: Relationships in mapped superclass must be unidirectional
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811212 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 03:21:32 +00:00
Fay Wang 701221576d OPENJPA-1286: Relationships in mapped superclass must be unidirectional
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811211 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 03:20:19 +00:00
Jeremy Bauer c35277c156 OPENJPA-926 Update documentation for explicit access types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811160 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 22:39:12 +00:00
Catalina Wei c880fdeb7f OPENJPA-1287 Criteria query to generate 'optimize for 1 row' for DB2 if selection is an aggregate function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811159 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 22:34:08 +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
Donald Woods 1908a91180 OPENJPA-1284 Fix missing 1.0 schema license headers and update NOTICE files with license header required wording
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810702 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 21:27:18 +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
Donald Woods 9d69e59a7c remove validation spec api from openjpa-all, as it should be provided by the user with the BV impl
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810675 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 19:13:08 +00:00
Donald Woods e1404bdbbe OPENJPA-1282 Update geronimo-validation spec used for builds to EA5 to match 1.0.CR5 level
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810674 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 19:12:00 +00:00
Jeremy Bauer 1f347633aa OPENJPA-1282 Update bean validation RI provider and spec API level. Remove allow failure from test that passes due to provider update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810645 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 18:18:27 +00:00
Pinaki Poddar 3c3c8082d3 OPENJPA-1275: pom update to EA8 same as PFD2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810386 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 07:18:24 +00:00
Pinaki Poddar 0bd8204875 OPENJPA-1275: Align with JPA 2.0 Public Draft Version 2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810366 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 06:17:27 +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
Pinaki Poddar 8c929e6e10 OPENJPA-1276: Add CQL for Parameter
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810306 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 23:23:07 +00:00
Jeremy Bauer 8a6a39dec7 OPENJPA-1275 Update schemas to 8/31 revision
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810261 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:48:25 +00:00
Pinaki Poddar a291185ad8 OPENJPA-1278: missing file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810240 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:07:19 +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
Michael Dick b32bf1b730 remove errant TODO
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810228 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 20:47:33 +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 fdcbdccae0 OPENJPA-1271:
Remove @Override annotations which caused compile errors with JDK5

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808997 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:29:08 +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 12015d3f1d getLong was using INT. Patch by Criag Russell.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808701 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 00:53:50 +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
Jeremy Bauer aedc261abc OPENJPA-1228 Updated persistence parser to use new default value for exclude-unlisted-classes in a JPA 2.0 persistence.xml while maintaining prior behavior for a 1.0 or unspecified version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808149 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:23:11 +00:00
Fay Wang 4083018e38 OPENJPA-1266: no need to cast for JDBC escape syntax for date, time, timestamp in DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808086 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:10:55 +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