Commit Graph

1282 Commits

Author SHA1 Message Date
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
Donald Woods b96289c695 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987600 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 18:52:18 +00:00
Donald Woods a3f4e2c329 [maven-release-plugin] rollback the release of 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987583 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 17:25:58 +00:00
Donald Woods e69d17669b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987576 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 17:03:07 +00:00
Donald Woods c91b6699c7 [maven-release-plugin] prepare release 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@987574 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 17:02:55 +00:00
Donald Woods 0082fa48cd OPENJPA-1712 Split creation of o-p-j-test-base.jar into its own build, as jar:test-jar doesn't allow creation of 2 tests.jar in the same module and maven can't get the dependency scope right if jar:jar is used to create the artifact.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986552 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 02:40:39 +00:00
Donald Woods 5e38145fa1 OPENJPA-1712 use project.version instead of pom.version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986294 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 12:30:40 +00:00
Michael Dick 4560ddf64f get lock clause from DBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985574 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 19:39:01 +00:00
Michael Dick 83560d0854 OPENJPA-1424: Adding testcase.
Submitted By: Heath Thomann and Daryl Stultz

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@985343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 20:18:48 +00:00
Donald Woods 697b34b9ee OPENJPA-1712 Upgrade builds to use Apache hosted Nexus repo. Backported from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@983230 13f79535-47bb-0310-9956-ffa450edef68
2010-08-07 14:00:37 +00:00
Michael Dick 4a1501ed9d OPENJPA-1749: Throw exception when incompatible configuration options are set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@980199 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 20:32:42 +00:00
Michael Dick dba341a7d9 Fix timing window with TestTimestampVerson and MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@979755 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 15:45:13 +00:00
Michael Dick d20e84a294 OPENJPA-1722, OPENJPA-1690: Make DistinctResultList serializable, and add writeReplace method.
Submitted by: Dianne Richards and Pinaki Poddar

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@979418 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 19:43:36 +00:00
Michael Dick 426db6e2b6 OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries. Merged from Catalina's changes for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@979375 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 17:32:01 +00:00
Michael Dick d39c580688 OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966602 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:58:16 +00:00
Michael Dick 1d667e8d67 OPENJPA-1719: Prepared SQL cache user parameter ordering problem with subqueries.
Originally fixed in trunk by Catalina Wei

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966307 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 16:42:02 +00:00
Michael Dick e34e85396e OPENJPA-1501: trim trailing whitespace for entities with String IDs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@966225 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 13:42:53 +00:00
Michael Dick a2d0e05649 OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method. Merged to 2.0.x - submitted by Rick Curtis
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@965610 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 20:02:23 +00:00
Catalina Wei 5f2d51e23e OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
fix testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961472 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:37:29 +00:00
Catalina Wei d7a9cdf3de OPENJPA-1715: OpenJPA generates wrong SQL if a result variable that references an aggregate expression is used in ORDER BY clause
add testcase.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@961449 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 18:10:25 +00:00
Michael Dick 939b1b5a95 OPENJPA-1678: add printParameters property to prevent SQL parameter values from being logged in exceptions or trace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@955073 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 22:26:47 +00:00
Donald Woods 14b6a637de [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935684 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:42 +00:00
Donald Woods e52c11be3b [maven-release-plugin] prepare release 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935682 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 17:33:22 +00:00
Pinaki Poddar 9c3e403308 OPENJPA-703: Merge Query Statistics related changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@935078 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:49:09 +00:00
Donald Woods a0f8422e87 [maven-release-plugin] rollback the release of 2.0.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@934094 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:30:19 +00:00
Donald Woods de472e50c3 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@932977 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11 19:30:54 +00:00