Commit Graph

1064 Commits

Author SHA1 Message Date
Heath Thomann 775d57dcb7 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.0.x@1702137 13f79535-47bb-0310-9956-ffa450edef68
2015-09-10 00:26:26 +00:00
Heath Thomann 1238479b2c OPENJPA-1794: Return null, rather than 0, on MAX function - back ported to 2.0.x Jeremy Bauer's commit to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1624026 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 15:17:35 +00:00
Richard G. Curtis 08479060d4 OPENJPA-2410: Merge checkstyle changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1511055 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 18:05:25 +00:00
Heath Thomann ae15030654 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.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1504611 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 19:19:24 +00:00
Heath Thomann 7d9ae1fa77 OPENJPA-2373: MapsId in a Child entity to a Parent entity using auto-assigned identity fails with duplicte INSERT SQL - back ported to 2.0.x Pinaki Poddar's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1484136 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:16:28 +00:00
Heath Thomann 9e7f7e9717 OPENJPA-1912: Generate externalizable methods correctly for super and subclasses - back ported to 2.0.x Mark Struberg's trunk changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1484028 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 23:42:05 +00:00
Heath Thomann 67f5e4c3c1 OPENJPA-2325: MappedSuperClass without an @Id causes wrong identity type for the inherited types - back-ported to 2.0.x Pinaki Poddar's commit to trunk, as well as an additional change he made specific to 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1469582 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 21:27:23 +00:00
Jeremy Bauer 4487017fbf Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1462318 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 21:43:39 +00:00
Heath Thomann 1a20bc7c6f OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1436515 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:00:57 +00:00
Heath Thomann dab907a84c OPENJPA-1644: Null field values after calling EntityManager.remove() - back ported to 2.0.x Rick's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1428664 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 23:13:45 +00:00
Jody Grassel d261800842 OPENJPA-2233: Update message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1389965 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:14:44 +00:00
Jody Grassel 290f0aeccb 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.0.x@1389523 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 19:26:23 +00:00
Jody Grassel 3892b01cfd OPENJPA-2233: Revert patch, test failures encountered
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1388061 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:09:25 +00:00
Jody Grassel b3f2395432 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.0.x@1387783 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 21:39:09 +00:00
Albert Lee 6a86f998e9 OPENJPA-2199 - Guard null pc value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1361284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:14 +00:00
Heath Thomann 135e7c78fa OPENJPA-2139: Reverting previous changes to 2.0.x as we've found further considerartion/design is needed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1350014 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 20:53:51 +00:00
Jody Grassel 9803f9b92d OPENJPA-1993: Deadlock Potential with ORM XML Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1344422 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 19:14:13 +00:00
Heath Thomann 17ccc596c7 OPENJPA-2107: Applied to 2.0.x Rick's changes from trunk (2.2.x)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341964 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 18:08:56 +00:00
Heath Thomann 05b525df49 OPENJPA-2139: Apply my lastest patch, which includes contributions added by Rick and Mark.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341955 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 17:22:10 +00:00
Jody Grassel f41f79360b OPENJPA-1845: the prepared query cache doesn't currently work correclty with 'SELECT IN' statements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341547 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 16:04:14 +00:00
Jody Grassel 7b36aa53c5 OPENJPA-2042: Diagnostics for Application Managed EntityManagerFactory leaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1338900 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 21:20:13 +00:00
Jody Grassel 5fd2b4fe28 OPENJPA-2133: OpenJPA doesn't find custom mappings with an applicable class loader
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1334144 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 19:58:16 +00:00
Dianne E. Richards 8d8871e0f1 OPENJPA-2142 Fix merge of a new entity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1330361 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:49:20 +00:00
Jody Grassel 560cd151e5 OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1294721 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 16:33:30 +00:00
Jody Grassel 371af37117 OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1240247 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 17:02:44 +00:00
Heath Thomann 21f7cf7de7 OPENJPA-2102: Revert previous 2.0.x changes, i.e. Reverting rev 1225657
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1227827 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 20:51:27 +00:00
Heath Thomann 35a09a7f36 OPENJPA-2102: Added code to compare decoded URLs in AbstractCFMetaDataFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1225657 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 21:09:35 +00:00
Heath Thomann fea6083a29 OPENJPA-2051: Change to ensure entities are properly cascaded after a flush.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1186888 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 16:27:30 +00:00
Heath Thomann 1345e75631 OPENJPA-758: Added code to check the ClassResolver to get a class loader when attempting to load a ValueHandler or FieldStrategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1155108 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 21:20:47 +00:00
Heath Thomann 49f14ecdeb OPENJPA-2006: If flushing, also pre-flush non-provisional entities to allow sequence ID population - merged Jeremy's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1141193 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 18:45:09 +00:00
Heath Thomann 2ede6e480c OPENJPA-2011: Optionally prevent reparsing annotations in query mode - merged Mike's changes from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1140902 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 23:22:20 +00:00
Heath Thomann 17f3f734eb OPENJPA-2010: Check line number and source file before logging duplicate meta data warning - merged Mike's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1140304 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:34:33 +00:00
Heath Thomann c20c89ab53 Update BrokerImpl to skip check for duplicate ids when they are auto generated - merged Rick's changes from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1084264 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:39:41 +00:00
Heath Thomann 2269ea2fab OPENJPA-1911: fix merge problem for entities with derived id - merged this code from Fay's changes for trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1069924 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 19:23:29 +00:00
Jody Grassel d46f649e32 OPENJPA-1890: Fix NPE when an embeddable is set to a managed entity more then once, merged from Fay's changes for trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1043597 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 18:49:17 +00:00
Michael Dick 35740819fe OPENJPA-1790: Added Proxy for concurrent maps.
Submitted By: Heath Thomann, ported from Jody's patch for trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1034584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 22:10:12 +00:00
Michael Dick 9e389d2d28 OPENJPA-1790: Added Proxy for concurrent maps.
Submitted By: Heath Thomann, ported from Jody's patch for trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1034583 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 22:09:42 +00:00
Michael Dick d8782f49ab OPENJPA-1814: JPQL fails with Group By and Having aggregate_expression IN (subquery)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1003209 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 19:21:25 +00:00
Donald Woods b60ad9c5dc [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989425 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 01:42:33 +00:00
Donald Woods 4c0a76f2d7 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989423 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 01:42:20 +00:00
Donald Woods c741363f8f [maven-release-plugin] rollback the release of 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989380 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 21:40:13 +00:00
Donald Woods a2d8195aac [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989333 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:07:05 +00:00
Donald Woods 089407d426 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989331 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:06:53 +00:00
Donald Woods 3983a156e9 [maven-release-plugin] rollback the release of 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989318 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 19:37:41 +00:00
Donald Woods a248a3e865 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989276 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 18:12:49 +00:00
Donald Woods 5f8fdfd1c6 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@989274 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 18:12:35 +00:00
Catalina Wei f0c38d38a5 OPENJPA-1736: Mappings with foreign keys as identity fields sometimes not resolved correctly
back-out changes in 2.0.x branch.
must be pre-approved before committing changes to 2.0.x.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@988277 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 19:45:14 +00:00
Catalina Wei 82c9f910b5 OPENJPA-1736: Mappings with foreign keys as identity fields sometimes not resolved correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987773 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 15:46:49 +00:00
Donald Woods 5b119ab0a9 [maven-release-plugin] rollback the release of 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987616 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 19:54:05 +00:00
Donald Woods 2c03991db1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987602 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:52:30 +00:00