Commit Graph

4646 Commits

Author SHA1 Message Date
Mark Struberg 979d8f24e9 OPENJPA-2335 review test case and update checks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1540371 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 19:26:31 +00:00
Mark Struberg fe7cfaef9d OPENJPA-2335 only handle key columns very restrictive
There is no reason to forbid updates to other Columns like OrderColumn, etc



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1540277 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 08:20:50 +00:00
Heath Thomann b0e220a056 OPENJPA-2449: refresh(PESSIMISTIC_WRITE) generates seperate SQL for the lock - applied to 2.3.x Albert Lee's patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1539199 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 23:41:06 +00:00
Mark Struberg 46bd717379 OPENJPA-2335 add a unit test for demonstrating the bug
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538480 13f79535-47bb-0310-9956-ffa450edef68
2013-11-04 00:00:42 +00:00
Mark Struberg 065dc9372f add wagon-ssh to the site plugin to allow scp publishing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538462 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 21:25:45 +00:00
Mark Struberg 4f5b2528a3 [maven-release-plugin] rollback the release of openjpa-parent-2.3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538461 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 21:22:50 +00:00
Mark Struberg 8583c9b5b2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538091 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:41:23 +00:00
Mark Struberg d2e67d03e6 [maven-release-plugin] prepare release openjpa-parent-2.3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538089 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:41:09 +00:00
Mark Struberg e3fae9c8f7 was-statistics have no classes, thus we must skip the javadoc plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538079 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 22:57:27 +00:00
Mark Struberg e63d54b233 force schema creation before the test runs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538070 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 22:05:33 +00:00
Mark Struberg fba1f6fa0a fixed validation tests
wonder how this did work previously...


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538058 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 20:49:15 +00:00
Mark Struberg 2faf2e7857 adopt release notes and changes files for 2.3.0 release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1537254 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 19:29:58 +00:00
Mark Struberg 0766919947 enable tests during release; tweak javadoc creation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1537242 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 18:59:42 +00:00
Mark Struberg a4a86d5bc8 remove duplicate findbugs-maven-plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1537208 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 17:54:13 +00:00
Mark Struberg becd91422e another round of trying to fix the aggregate javadoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1537009 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 08:40:11 +00:00
Mark Struberg 3c8e53ac5d upgrde to latest apache-parent and javadoc version
JavaDoc aggregate generation was broken with mvn3 and the old plugin


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536912 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 22:09:36 +00:00
Mark Struberg d148f39ecb fix SCM url for the branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536902 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 21:51:21 +00:00
Jody Grassel a24ef499f3 OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536793 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 16:23:36 +00:00
Mark Struberg 945cd6b206 OPENJPA-2200 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536638 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:13:25 +00:00
Mark Struberg bf111757a7 OPENJPA-2437 transactional listeners added too late to observe begin event
txs 2 rmannibucau for the fix.
Patch applied with cleanup and tests pimped. 



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536596 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 06:37:51 +00:00
Mark Struberg 3f5c5b0235 OPENJPA-2444 move the cleanup after freeing the InputStream
Win* blocks the whole file as long as the InputStream is not closed.
Thus we can only delete the file afterwards.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536462 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 18:10:53 +00:00
Mark Struberg db54b93b36 OPENJPA-2018 fix handling of Arrays in Select IN statements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536453 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 17:59:49 +00:00
Albert Lee ea224b4568 OPENJPA-2018 add svn:eol-style=native property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536036 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 20:59:04 +00:00
Mark Struberg d081e053eb OPENJPA-2018 improve unit test setup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535839 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 19:45:08 +00:00
Mark Struberg 3d223859ca OPENJPA-2018 correctly handle select IN with arrays
txs to rmannibucau for the patch.
Applied with minor changes



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535816 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 18:51:08 +00:00
Mark Struberg 15426af915 OPENJPA-2444 also use target folder in the test itself
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535665 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 09:35:32 +00:00
Mark Struberg cb0c80f6ac OPENJPA-2444 fix default orm.xml location for ReverseMappingTool
I also fixed the badly formatted and partly broken TestUseSchemaElement.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535560 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:31:58 +00:00
Richard G. Curtis 4d31e86c7f OPENJPA-2443 : Fix SingleFieldManager to not check for null values for IDENTITY generated fields when flushing.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535379 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 13:42:42 +00:00
Mark Struberg f923376210 OPENJPA-2440 close connection after not using it anymore
this prevents leaks like the one reported by rmannibucau.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533640 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:25:56 +00:00
Mark Struberg 722edd01da OPENJPA-2409 enable persistenceXmlFile parameter to handle classpath resources as well.
contributed by rmannibucau, txs!
applied with small changes and doc improvements


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533462 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 14:11:53 +00:00
Heath Thomann 1da1af03ca OPENJPA-2435: Version field in a projection always returned as an Integer. Merged 2.1.x changes to 2.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533288 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 23:22:40 +00:00
Heath Thomann 3b9ae7d72a OPENJPA-2425: SELECT fields with @ExternalValues defined returns datastore values instead of unmapped fields - applied Albert Lee's patch to 2.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533243 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 20:17:41 +00:00
Heath Thomann a62f051d07 OPENJPA-2343: Version field returns null when explicity projected from a JOIN in SELECT clause - based fix off of patch provided by Howard Kelsey. Merged 2.2.x commit to 2.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533235 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:58:59 +00:00
Mark Struberg 0059797e00 OPENJPA-2221 also applied to 2.3.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533026 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 09:57:05 +00:00
Richard G. Curtis ddad287ffa OPENJPA-2283: Seperate test/runtime source/target levels in root pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1532519 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 20:29:32 +00:00
Mark Struberg 430379dbc8 OPENJPA-2283 use xbean-asm4-shaded ASM version as the dynamic handling doesn't work out
This makes sure we always have a guaranteed ASM version 4 regardless what ASM a
user might add to the project. This also rolls back the dynamic ASM handling of
OPENJPA-2171.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1530808 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 22:10:48 +00:00
Mark Struberg 439293544a create maintenance branch for 2.3.x releases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1527179 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 12:20:03 +00:00
Jody Grassel a3fccb40e3 OPENJPA-2432: MySQL dictionary can't be found from a valid connection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1526968 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 16:05:01 +00:00
Jeremy Bauer 9f8a682a03 OPENJPA-2366 Committing code and unit tests contributed by Austin Dorenkamp
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1519550 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 04:18:09 +00:00
Heath Thomann 7a9815a15f OPENJPA-2423: Isolation level is not working properly on DB2 for JPQL queries with nested sub-queries - committed to trunk the patch/fix provided by Pinaki Poddar.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1517843 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 15:06:13 +00:00
Jody Grassel ee6f4acc3f OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:11:17 +00:00
Michael Dick ea05b25d46 OPENJPA-1459: Rename to binaries-nodocs and remove dead code in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516681 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 02:40:56 +00:00
Michael Dick 4397b003cb OPENJPA-1459: Add new archive that doesn't include sources or javadocs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516357 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 01:50:27 +00:00
Pinaki Poddar 1896a2850c OPENJPA-2318: Left outer join is not generated because allowNull was not passed correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1514833 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:25:23 +00:00
Pinaki Poddar 2841d18dda OPENJPA-2421: Correct a bug on FinderTargetPolicy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1514829 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 18:12:29 +00:00
Heath Thomann 0aed173d4f OPENJPA-2376: Escape character in JPQL with parameter substitution generates incorrect SQL - committed a patch sent to me by Albert Lee - merged changes from 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1513276 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 22:02:58 +00:00
Jody Grassel 9acc4e2b73 OPENJPA-2368: Revert change to OpenJPA Extendable ORM Target NameSpace doc update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1512334 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:12:31 +00:00
Jody Grassel 6952aec464 OPENJPA-2368: Revert change to OpenJPA Extendable ORM Target NameSpace
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1512004 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 19:56:10 +00:00
Richard G. Curtis d4b693e4e8 OPENJPA-2418 : Fix checkstyle to run with maven 3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1511367 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 15:46:38 +00:00
Albert Lee 2ad745381c OPENJPA-2378 - Fix test case to run test only if supportsAutoAssign is enabled. Contributed by Di Lau
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1510667 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 19:15:52 +00:00