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
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
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
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
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
Heath Thomann
b3d0ade06a
OPENJPA-2117: Back-port Albert's trunk changes to 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1295351 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 00:16:07 +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
Michael Dick
1d2d1ff953
Add getDBDictionary() method to SingleEMFTestCase. Partial merge from revision 1005883
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159902 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:23 +00:00
Michael Dick
05d3f3051c
use DROP_TABLES in IndirectRecursion testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159901 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:15 +00:00
Michael Dick
d7d14443ff
Exclude TestAutoIncrement if datbase does not support auto-increment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1159898 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 19:02:01 +00:00
Michael Dick
82a6d093ab
Exclude test on SQLServer
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1158007 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 20:53:37 +00:00
Heath Thomann
d12334e6f9
OPENJPA-1376: Backported trunk changes to 2.0.x where possible, made code gated by a system property.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1153950 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 17:41:44 +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
Michael Dick
a834c13739
Remove try/catch that hides exception text in TestM2MInDataCache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1140220 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:02:13 +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
Michael Dick
9b8b19f4e1
OPENJPA-1957: treat non element collection like normal serializable types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1080019 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 21:59:10 +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
039abeba79
OPENJPA-1905: Validate jar-file pu element after confirming OpenJPA is chosen provider
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1063439 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 20:21: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
05b6589acb
OPENJPA-1874: Handle Oracle XMLType columns with @Lob annotation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1031710 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 18:50:08 +00:00
Donald Woods
29604c1e39
OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1027632 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:28:30 +00:00
Michael Dick
9f5e44d05f
OPENJPA-1699: Streaming LOB support for DB2
...
> Submitted by Heath Thomann, based on Fay's patch for trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@1022338 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 01:08:41 +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
Michael Dick
c084d03524
OPENJPA-1372: Add testcases - no mainline code changes.
...
Submitted By: Pinaki Poddar and Milosz Tylenda
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@993549 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 22:24:33 +00:00
Michael Dick
a787cd961a
OPENJPA-1765: Add locking to TableJDBCSeq to ensure thread safety.
...
Submitted By: Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@993538 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 21:18:48 +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