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
Jody Grassel
e406bda450
OPENJPA-2405: EntityManager.merge does not work for entity that is managed by another EntityManager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1498565 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:58:11 +00:00
Albert Lee
c7b4e05b1e
OPENJPA-2391 - commit patch contributed by Di Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1496128 13f79535-47bb-0310-9956-ffa450edef68
2013-06-24 17:23:56 +00:00
Albert Lee
123e28821e
OPENJPA-2390 - commit patch contributed by Di Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1496124 13f79535-47bb-0310-9956-ffa450edef68
2013-06-24 17:05:05 +00:00
Albert Lee
5e9ecb0bbe
OPENJPA-2305 Revert AnnotationProcess6 @SupportSourceVersion removal. This will be resolved under JIRA 2300.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1495579 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 20:13:01 +00:00
Heath Thomann
c8016a49e0
OPENJPA-2373: Made updates to the test created for this JIRA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1491915 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 19:23:05 +00:00
Albert Lee
2df7cd6950
OPENJPA-2379 - Revert changes due to following additional failures:
...
Failure TestPersistenceUtil. testNotLoadedEager (org.apache.openjpa.persistence.util) 163ms View trend 1590
Failure TestProviderUtil. testNotLoadedEager (org.apache.openjpa.persistence.util) 79ms View trend 1378
Failure TestProviderUtil. testNotLoadedLazy (org.apache.openjpa.persistence.util) 61ms View trend 1376
Failure TestProviderUtil. testIsApplicationLoaded (org.apache.openjpa.persistence.util) 37ms View trend 1379
Failure TestPersistenceUtil. testNotLoadedLazy (org.apache.openjpa.persistence.util) 34ms View trend 1588
Failure TestPersistenceUtil. testIsApplicationLoaded (org.apache.openjpa.persistence.util) 34ms View trend 1591
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1491006 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 16:06:08 +00:00
Mark Struberg
f30f7bcdb4
fix ignore list
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1488104 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 06:07:29 +00:00
Mark Struberg
0834454bdb
OPENJPA-2388 support for xbean shaded ASM4
...
txs to rmannibucau for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1488102 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 06:05:16 +00:00
Pinaki Poddar
ede84e683e
refactor json-only classes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1484901 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 18:47:15 +00:00
Albert Lee
937aad666b
OPENJPA-2377 - Fix criteria query methods to meet spec requirements.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1482427 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 16:26:39 +00:00
Jeremy Bauer
c6ee8caa41
Refrain from logging when verifying log factory plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1481141 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 18:42:15 +00:00
Pinaki Poddar
6d313db788
OPENJPA:2379: simplify isLoaded() logic
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1479651 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 17:46:33 +00:00
Albert Lee
0d1b15220d
OPENJPA-2371 - move gallery examples from main to test folder
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1475984 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 22:07:33 +00:00