4630 Commits

Author SHA1 Message Date
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
Jody Grassel
a0b872f5c2 OPENJPA-2413: FetchPlan.clearFetchGroups() does not retain default entry in list of active Fetch Groups.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1509031 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 21:05:37 +00:00
Heath Thomann
f63e792243 OPENJPA-2387: Fix to exclude schema name when checking the length of a sequence name. Made update to ensure schema is used after length is calculated.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1508188 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:27:27 +00:00
Jeremy Bauer
ca76712e38 OPENJPA-1794 aggregate function with no result set must return null
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1506198 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 18:26:42 +00:00
Richard G. Curtis
5b3fea7cd4 OPENJPA-2410 : Yet another checkstyle change.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1505786 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 20:08:30 +00:00
Richard G. Curtis
0019221544 OPENJPA-2410 : Yet another checkstyle update. Should fix nix issues.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1505051 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 22:10:10 +00:00
Jody Grassel
92c4369aa1 OPENJPA-2400: MariaDB DBDictionaryFactory update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504985 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 19:58:36 +00:00
Richard G. Curtis
503e48e8cd OPENJPA-2410 : Yet another checkstyle update.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504984 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 19:57:28 +00:00
Richard G. Curtis
0929f42f83 OPENJPA-2410 : Another minor change to checkstyle.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504883 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 14:09:49 +00:00
Richard G. Curtis
a8af3da0de OPENJPA-2410 : Minor change to checkstyle suppressions.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504861 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 12:50:37 +00:00
Heath Thomann
e384913eae OPENJPA-2387: Fix to exclude schema name when checking the length of a sequence name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504721 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 23:32:10 +00:00
Richard G. Curtis
4cf336fd95 OPENJPA-2410 : Detect SystemOut/Err in code at build time. Patch submitted by Di Wu Lau.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504673 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:34:23 +00:00
Heath Thomann
dc2c72f8e1 OPENJPA-2355: Made changes to localizer.properties files to update the message previously added by this JIRA.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504282 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 21:18:30 +00:00
Jody Grassel
1b1b60c9a7 OPENJPA-2400: MariaDB support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501805 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:43:18 +00:00
Michael Dick
8cb451d1df OPENJPA-696: Make transaction synchronization registries non-static.
Patch is old - feel free to revert if something breaks.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501634 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 02:14:30 +00:00
Albert Lee
8eb9ff9ce8 Add CLEAR_TABLES to avoid intermittent failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501403 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 17:46:58 +00:00
Albert Lee
a30d93f5c8 OPENJPA-2356 Database specific adjustments for previous patch. Contributed by Di Lau.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501256 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 13:25:21 +00:00