Commit Graph

4802 Commits

Author SHA1 Message Date
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
Helen Xu 5ce1ec400e OPENJPA-2374: avoid OID creation when the lookup is not required.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1471113 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:44:05 +00:00
Pinaki Poddar 1869a7b07e OPENJPA-2373: Add toString() for debugging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469653 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 01:01:31 +00:00
Pinaki Poddar a90e51691d OPENJPA-2373: test case for MapsId with auto-generated identity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469652 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:58:28 +00:00
Pinaki Poddar fa122cdfae OPENJPA-2373: special processing path for MapsId with auto-generated identity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469649 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:55:11 +00:00
Pinaki Poddar 34b223fa67 OPENJPA-2373: Add toString() for debugging
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469646 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:12:35 +00:00
Pinaki Poddar 1a1ab83ff5 Add a warning when complex id class is non-serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469643 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 00:07:41 +00:00
Helen Xu 8b75df3c9b OPENJPA-2369, eliminate the duplicate call to getUnloadedInternal function.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468536 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 18:04:55 +00:00
Kevin W. Sutter 96751867c9 OPENJPA-2172. In order to pass the TCK, we needed to add the slf4j dependency into the TCK pom.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468447 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 14:53:47 +00:00
Albert Lee e8a2932d4c OPENJPA-2368 extentable xsd updates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468233 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 21:35:41 +00:00
Kevin W. Sutter 2e996c9918 OPENJPA-2172. Remove the dependency on the slf4j runtime bundle from openjpa-all.jar. Also, modified the persistence.xml files for the OpenBooks sample to set the Validation-Mode to None (since it's not being used). This way, we can avoid the dependency altogether. This also required the update to the persistence.xml files to point at the JPA 2.0 xsd files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468108 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 15:06:16 +00:00
Albert Lee 30c3a72a11 OPENJPA-2368 Reverts extension xsd update in trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1467844 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 02:02:13 +00:00
Albert Lee e61acd8571 OPENJPA-2368 extension xsd update in trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1467674 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 18:44:03 +00:00
Pinaki Poddar 3d11895269 OPENJPA-2365: Support for delete-by-query. Correction for hint processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1464082 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 15:51:52 +00:00
Jeremy Bauer 7f14c7df6b Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:10:35 +00:00
Pinaki Poddar 5c1421cf09 OPENJPA-1979: reference column name starting with single-quote *not* delimited as they have special semantics for non-standard constant join
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461833 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 20:05:24 +00:00