Commit Graph

4623 Commits

Author SHA1 Message Date
Mark Struberg 70f1188d19 release preparation upgrade trunk to 2.4.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535565 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:39:43 +00:00
Richard G. Curtis d8395bdc56 OPENJPA-2443 : Remove unnecessary import.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1535082 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:58:23 +00:00
Richard G. Curtis 1f38337481 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/trunk@1535067 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 15:58:46 +00:00
Mark Struberg a76249e143 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/trunk@1533641 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:28:57 +00:00
Mark Struberg 67082453b3 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/trunk@1533466 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 14:25:55 +00:00
Heath Thomann 83dab92168 OPENJPA-2435: Version field in a projection always returned as an Integer. Merged 2.1.x changes to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533289 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 23:28:31 +00:00
Heath Thomann bb743b5f15 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 trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533227 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:46:14 +00:00
Jody Grassel dc36e9ae8f OPENJPA-2438: EmbedFieldStrategy.containsEmbeddedResult() optimization fails under certain native sql query conditions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533094 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 14:48:16 +00:00
Mark Struberg 35c91eef22 OPENJPA-2221 AbstractValueHandler map() fix applied to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1533047 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 11:04:35 +00:00
Jody Grassel 70ccfae92f OPENJPA-2433: Queries with a sort clause returns fewer entries than the same query that does not have a sort clause
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532909 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 21:06:27 +00:00
Jody Grassel c8e3d5dcbb OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532882 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 20:12:10 +00:00
Richard G. Curtis c3f73b7f7c Minor test change in TestUseSchemaElement to clean up prior to running.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532833 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 17:56:11 +00:00
Richard G. Curtis e719ad01e9 OPENJPA-2283 : Merge changes from 2.3.x to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1532523 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 20:32:07 +00:00
Heath Thomann 3b94663fe2 OPENJPA-2425: SELECT fields with @ExternalValues defined returns datastore values instead of unmapped fields - applied Albert Lee's patch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1530368 13f79535-47bb-0310-9956-ffa450edef68
2013-10-08 17:35:57 +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