Jody Grassel
e5d7b69cc6
OPENJPA-2616: Update to Commons Collections 3.2.2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1715899 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 17:29:42 +00:00
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
Heath Thomann
b67e38f38c
OPENJPA-2475: A query with LEFT FETCH JOIN returns incorrect results - merged changes to 2.0.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1576519 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 21:59:20 +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
2a3791bc03
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.0.x@1485011 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 23:27:45 +00:00
Heath Thomann
62f3924e54
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@1484287 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 14:39:33 +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
Jeremy Bauer
22fc5ab4ef
Refrain from logging if verifying log factory plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1481536 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 12:14:40 +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
Albert Lee
8fb46ee0e3
OPENJPA-2326 - Fixed StoreCharAsInteger property for DB2.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1445655 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 15:14:13 +00:00
Albert Lee
28d89e95ba
OPENJPA-2326 - Enable 20x 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.0.x@1445412 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 22:09:28 +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
838b53bfce
OPENJPA-2236: Put try/catch around connection info trace in DBDictionary - back ported Jeremy Bauer's trunk changes to 2.0.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1431723 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 23:16:55 +00:00
Albert Lee
54cab34e20
Revert switch to use www.apache.org/dist/openjpa/nightly.builds changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1431567 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 19:15:14 +00:00
Albert Lee
8c8d202c97
Switch to use www.apache.org/dist/openjpa/nightly.builds.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1431470 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 16:15:56 +00:00
Albert Lee
7397267f5e
Update nightly build documentation upload location.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1430096 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 23:52:44 +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
Heath Thomann
3958529f1f
OPENJPA-2284: Save NPE while parsing cascade - back ported to 2.0.x Pinaki's commit to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1419659 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 18:52:09 +00:00
Heath Thomann
7f89076981
OPENJPA-2289: Applied Albert's patch to 2.0.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1415037 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 04:25:25 +00:00
Heath Thomann
636068420a
OPENJPA-2244: Applied Helen's patch to 2.0.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1415035 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 03:30:55 +00:00
Albert Lee
ac1109a62b
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.0.x@1392660 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:38 +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
090aa43c13
OPENJPA-2067: Update message text
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1389963 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:12:50 +00:00
Jody Grassel
cd0385ccff
OPENJPA-1845: Update message text
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1389955 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 16:10:30 +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
7a528a03e4
OPENJPA-2233: Revert patch, delete new files
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1388063 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:09:57 +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
Jody Grassel
f8171ddd32
OPENJPA-2149: Criteria.function adds wrong casts to parameters making it unusable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1376089 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 15:08:16 +00:00
Heath Thomann
e11755e4b4
OPENJPA-1682: Backported to 2.0.x this JIRA and revision 941362 from OPENJPA-1387 since the two issues are related/coupled.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1372913 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 14:56:09 +00:00
Albert Lee
2243c76fe1
OPENJPA-2242 - Extends procedure call parameter String cast length if value length is greater than the default length
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1371268 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:01:30 +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
Dianne E. Richards
4ce857e119
OPENJPA-2207 Fix single numeric db identifier problem
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1348082 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 14:12:30 +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
Albert Lee
dc662be961
OPENJPA-2095 - JUnit 4 treats Test*.class as test case. Otherwise the following exception will be observed.
...
java.lang.IllegalArgumentException: Test class can only have one constructor
at org.junit.runners.model.TestClass.<init>(TestClass.java:32)
at org.junit.runners.ParentRunner.<init>(ParentRunner.java:54)
Rename entity classes prefix Test* to avoid the problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1342800 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 20:28:30 +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
Heath Thomann
dd45fa24a7
OPENJPA-2072: Applied Helen Xu's patch to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341947 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:50:45 +00:00
Heath Thomann
9ae3d06e07
OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341941 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:29:53 +00:00
Heath Thomann
ff83975992
OPENJPA-1738: Back ported Fay's changes from trunk (2.1.x).
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341923 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:00:45 +00:00
Heath Thomann
d21fb8c1a4
OPENJPA-2095: Applied Helen Xu's patch to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341881 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 14:52:39 +00:00
Heath Thomann
4e9fd21084
OPENJPA-1974: Applied to 2.1.x Rick's changes from trunk (2.2.x)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1341755 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 05:58:54 +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
Albert Lee
117e13ed50
OPENJPA-2199 - If inverse relation is removed (nulled out) when commit, attempt to find the target type from initialized object in the state manager to complete the update graph for foreign key constraint detection between the relationships.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1340122 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:41 +00:00
Dianne E. Richards
23f73b2adf
OPENJPA-2175 Fix problem with multiple foreign keys of the same type
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1339669 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:54:10 +00:00