Commit Graph

4142 Commits

Author SHA1 Message Date
Heath Thomann dd4daaebca OPENJPA-2343: Version field returns null when explicity projected from a JOIN in SELECT clause - based fix off of patch provided by Howard Kelsey.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1533218 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:14:40 +00:00
Heath Thomann 752d4c9594 OPENJPA-2425: SELECT fields with @ExternalValues defined returns datastore values instead of unmapped fields - applied Albert Lee's patch to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1530146 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 03:56:16 +00:00
Jody Grassel f25f879301 OPENJPA-2433: Queries with a sort clause returns fewer entries than the same query that does not have a sort clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1530028 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 19:03:25 +00:00
Jody Grassel c7e3ec4314 OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1529292 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 20:46:30 +00:00
Heath Thomann e8f8874a72 OPENJPA-1794: Return null, rather than 0, on MAX function - back ported to 2.1.x Jeremy Bauer's commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1529241 13f79535-47bb-0310-9956-ffa450edef68
2013-10-04 17:58:15 +00:00
Heath Thomann edfa79ca39 OPENJPA-2423: Isolation level is not working properly on DB2 for JPQL queries with nested sub-queries - committed to 2.1.x the patch/fix provided by Pinaki Poddar.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1517838 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 14:49:06 +00:00
Jody Grassel d600018d6a OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1516910 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 15:59:31 +00:00
Jody Grassel 06a139afb9 OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1516464 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 14:39:43 +00:00
Jody Grassel 3edd740d81 OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1516197 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 16:15:00 +00:00
Heath Thomann 3c5b28e49e OPENJPA-2376: Escape character in JPQL with parameter substitution generates incorrect SQL - committed a patch sent to me by Albert Lee.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1513249 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 20:41:36 +00:00
Richard G. Curtis 4d34b6e0e0 OPENJPA-2410 : Merge checkstyle changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1511008 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 15:47:58 +00:00
Jody Grassel 6f36f2af34 OPENJPA-2267: native query select with null result causes NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1508983 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 18:30:57 +00:00
Heath Thomann c47104b95f OPENJPA-2355: Allow more than two input argument to CONCAT() - back ported to 2.1.x Pinaki Poddar's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1505837 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 22:27:15 +00:00
Heath Thomann 0e6a4b7252 OPENJPA-1983: Don't cascade to an unloaded field when merge is called on a managed Entity - back ported Rick Curtis' trunk changes to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1504619 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 19:34:28 +00:00
Albert Lee 8d3fd54e29 Add CLEAR_TABLES to avoid intermittent failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1501402 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 17:46:56 +00:00
Jody Grassel 0aa6a75c5a OPENJPA-2025: Add Compatibility option to AnnotationProcessor6 tool so that the default generated class can be processed cleanly by the default runtime processor
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1497841 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 16:55:28 +00:00
Albert Lee 17c7fe743e OPENJPA-2305 Revert AnnotationProcess6 @SupportSourceVersion removal. This will be resolved under JIRA 2300.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1495578 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 20:13:00 +00:00
Heath Thomann ccb25d5ca8 OPENJPA-2373: Made a test case update given identity auto generated ids do not work so well for some databases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1485010 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 23:23:32 +00:00
Heath Thomann 5b07fdfc52 OPENJPA-1979: Regression for non-standard joins with constant column values - back ported to 2.1.x Pinaki Poddar's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1484313 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:06:13 +00:00
Heath Thomann f0fe24872b OPENJPA-2373: MapsId in a Child entity to a Parent entity using auto-assigned identity fails with duplicte INSERT SQL - back ported to 2.1.x Pinaki Poddar's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1484300 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 15:44:19 +00:00
Heath Thomann 5f824a2c5f OPENJPA-1912: Generate externalizable methods correctly for super and subclasses - back ported to 2.1.x Mark Struberg's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1483996 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 21:23:43 +00:00
Jeremy Bauer f05c3de7c8 Refrain from logging if verifying log factory plugin.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1481464 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 01:01:40 +00:00
Albert Lee 649c9d20ee OPENJPA-2371 - move gallery examples from main to test folder
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1475992 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 22:37:30 +00:00
Heath Thomann e47f9f772d OPENJPA-2325: MappedSuperClass without an @Id causes wrong identity type for the inherited types - back-ported to 2.1.x Pinaki Poddar's commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469949 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 16:40:28 +00:00
Heath Thomann 4457f3d67b OPENJPA-2070: Error processing while populating Metamodel classes needs improvement. Back-ported to 2.1.x Kevin Sutter's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469488 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 17:33:41 +00:00
Heath Thomann 0e886b4083 OPENJPA-2060: AnnotationProcess failed to generate metadata for List<String>[] attribute in entity. Back-ported Albert Lee's trunk changes to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469482 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 17:28:44 +00:00
Heath Thomann bc0ac7ca59 OPENJPA-2027: Metamodel genereated at runtime expects ListAttribute for all arrays - not just PersistentCollections. Back-ported Mike Dick's trunk changes to 2.1.x; made Compatibility property default to true.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469452 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 17:08:36 +00:00
Heath Thomann 19f8697218 OPENJPA-2025: Byte[] and Char[] should be treated as SingularAttributes, not lists by the metamodel generator - merged Mike Dick's trunk changes to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469097 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 23:18:05 +00:00
Heath Thomann 59322050ed OPENJPA-2305: Canonical MetaModel class generation should not use inhertence - applied Pinaki's trunk changes to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1469090 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 22:55:02 +00:00
Jeremy Bauer d3c68ad3bb Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1462268 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 19:33:00 +00:00
Albert Lee 6853346d37 OPENJPA-2326 - Fixed StoreCharAsInteger property for DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1445652 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 15:14:06 +00:00
Albert Lee 757b4cf4de OPENJPA-2326 - Enable 21x and 221x running TCK 2 against databases other then Derby. Fixed a few configuration problems.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1445201 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 15:40:38 +00:00
Heath Thomann 25ac722fbc OPENJPA-2324: Removed commented out println's.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1436521 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:07:32 +00:00
Heath Thomann 471af4c094 OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1436150 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 03:16:21 +00:00
Heath Thomann 7d31775a03 OPENJPA-2321: Synchronizing logging output stream causes deadlock when used some JDK LogManger derivative - back ported to 2.1.x Pinaki's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1434944 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 22:40:34 +00:00
Heath Thomann e3b1f02221 OPENJPA-2320: Remove static initializers because recursive Predicate constructor deadlocks - back ported Pinaki Poddar's trunk changes to 2.1.x - this issue also depends upon OPENJPA-2304.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1431737 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 23:52:05 +00:00
Albert Lee dfb36ebfd4 Revert switch to use www.apache.org/dist/openjpa/nightly.builds changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1431563 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 19:15:06 +00:00
Albert Lee cad87b2d14 Switch to use www.apache.org/dist/openjpa/nightly.builds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1431466 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:15:48 +00:00
Albert Lee d3380bdb51 OPENJPA-2236 - back port from 2.2.x to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1430543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 21:12:49 +00:00
Albert Lee 3aeefe26f5 Update nightly build documentation upload location.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1430093 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 23:52:38 +00:00
Heath Thomann 5beac33c27 OPENJPA-2257: Properly synchronized _supportedKeys in ConigurationImpl as contributed by Albert Lee, as well as additional changes to return a copy of _supportedKeys. Test case contributed by Stephan Hagedorn.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426582 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 17:01:26 +00:00
Heath Thomann 2fc19c4250 OPENJPA-2235: Updated TestIsolationFecthHint test to fix build failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426386 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 03:40:56 +00:00
Heath Thomann 302e33b6c1 OPENJPA-2235: READ_UNCOMMITTED setting for the fetch plan isolation level is ignored in DB2Dictionary - applied Helen Xu's patch to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426348 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:13:44 +00:00
Heath Thomann 5095e46e29 OPENJPA-2304: Protect the expressin list for concurrent access - back ported to 2.1.x Pinaki's commit in trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1423116 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 20:08:43 +00:00
Heath Thomann cd0e909732 OPENJPA-2284: Save NPE while parsing cascade - back ported to 2.1.x Pinaki's commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1419734 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:31:59 +00:00
Heath Thomann 06ebc55e52 OPENJPA-2289: Applied Albert's patch to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1415398 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 21:50:49 +00:00
Heath Thomann 3857502bac OPENJPA-2244: Applied Helen's patch to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1415379 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 21:09:58 +00:00
Jody Grassel 56ee353482 OPENJPA-2288: MetaDataRepository should be able to filter classes from other app ClassLoaders in JEE Env
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1413841 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 21:05:04 +00:00
Jody Grassel eb1cf11b87 OPENJPA-2233: Failed to invoke pcGetIDOwningClass method on embeddable entity with ID annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1397306 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:58:20 +00:00
Albert Lee 4c8ecb3d73 OPENJPA-2247 Complete fix for 1x1 bi and mx1 uni relationships of the described problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1392660 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:38 +00:00