Commit Graph

4165 Commits

Author SHA1 Message Date
Heath Thomann 2073783505 OPENJPA-2609: Sporadic ClassCastException occurs under heavy load when QuerySQLCache is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1709309 13f79535-47bb-0310-9956-ffa450edef68
2015-10-18 19:38:42 +00:00
asf-sync-process 42855b69f4 OPENJPA-2603: Merging an unmanaged entity multiple (3) times leads to an exception.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1709201 13f79535-47bb-0310-9956-ffa450edef68
2015-10-17 18:29:11 +00:00
Heath Thomann 1eba6fd556 OPENJPA-2586: Fix to return proper relationship data when QueryCache and FetchPlans are used.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1702142 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 01:36:41 +00:00
Heath Thomann 8de9eed223 OPENJPA-2539: Query Compilation causing inner join table to be randomly generated incorrectly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1686894 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 16:27:04 +00:00
Heath Thomann 6bf5e7babc OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - made test update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1673491 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 18:28:27 +00:00
Heath Thomann 3737fdbd21 OPENJPA-2571: Criteria Builder query generates extra alias when using multiselect.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1673300 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 22:22:58 +00:00
Heath Thomann 2fc38594cd OPENJPA-2557: FinderCache contains incorrectly cached query with a NULL for a Primary Key.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1662610 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 01:25:05 +00:00
Heath Thomann d9868bd9b7 OPENJPA-2536: FetchGroup is not returning lazy fields. Applied Rick Curtis' fix to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1655218 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 04:40:13 +00:00
Heath Thomann fc01e7816a OPENJPA-2547: When two threads attempt to get a Pessimistic Lock, one thread gets a 'false' lock. Applied fix to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1651843 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 21:48:12 +00:00
Heath Thomann e14f922149 OPENJPA-2506: StoreCache interface doesn't work for many ID types - back ported Dalia's fix to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1648430 13f79535-47bb-0310-9956-ffa450edef68
2014-12-29 21:01:02 +00:00
Heath Thomann 1318c6924e OPENJPA-2534: A boolean is not converted correct when using the hint 'UseLiteralInSQL' - applied Rick's patch to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1636464 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 22:41:29 +00:00
Heath Thomann 2a1fd9b502 OPENJPA-2131: Missing IN or OUT parameter exception with OracleDictionary - back ported Albert Lee's trunk commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1614935 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 16:47:36 +00:00
Heath Thomann 9a68280d77 OPENJPA-2478: Fixed erroneous message from the enhancer when a Mapped Superclass contains an @Id.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1591693 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 15:55:32 +00:00
Heath Thomann 9221876ed7 OPENJPA-2476: Fixed OptimisticLockEx due to rounding of a Timestamp
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1591536 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 02:34:15 +00:00
Jody Grassel 7dec044a1d OPENJPA-2482: java.sql.SQLException when processing a query result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1585790 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 17:34:46 +00:00
Heath Thomann 776e6cec94 OPENJPA-1986: Extra queries being generated when cascading a persist - added another/similar check to the ones added by Rick.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1580903 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 16:29:40 +00:00
Heath Thomann b69549f0c5 OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results - made test update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1575444 13f79535-47bb-0310-9956-ffa450edef68
2014-03-07 23:00:00 +00:00
Heath Thomann ca71209e74 OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results - applied fix to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1569528 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 21:11:41 +00:00
Jody Grassel b2896d53cd OPENJPA-2453: Add support to retain milliseconds of 'un-rounded' Date field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1548248 13f79535-47bb-0310-9956-ffa450edef68
2013-12-05 19:12:31 +00:00
Heath Thomann f0fc8e3808 OPENJPA-2449: refresh(PESSIMISTIC_WRITE) generates seperate SQL for the lock - applied to 2.1.x Albert Lee's patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1539188 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 23:19:16 +00:00
Heath Thomann 8437f735f4 OPENJPA-2330: Stackoverflow due to endless recursive calls - back ported to 2.1.x Rick Cutis's changes to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1539086 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 18:00:57 +00:00
Heath Thomann fb3dd3c09b OPENJPA-2435: Version field in a projection always returned as an Integer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1533280 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 23:00:39 +00:00
Heath Thomann 50f9c75d14 OPENJPA-1954: ArrayIndexOutOfBoundsException when querying on a version field that is in a MappedSuperclass - back ported to 2.1.x Rick Curtis's commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1533233 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:56:08 +00:00
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