Commit Graph

4589 Commits

Author SHA1 Message Date
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
Kevin W. Sutter 82027f4a35 OPENJPA-2342. Changed to use the getDeclaredInterfaceNames instead of getDeclaredInterfaceTypes. All testing is looking good and should alleviate the problem of the classloading.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461751 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:59:58 +00:00
Richard G. Curtis c9fa4b9bda OPENJPA-2357: Fix InvalidStateException when using the InverseManager. Fix contributed by Guillaume Chauvet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461090 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 12:43:29 +00:00
Pinaki Poddar 6adc2f465f OPENJPA-2356: Use FETCH OFFSET/NEXT and ROWNUM support for DB2 familiy of databases for Range queries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1459918 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 18:22:38 +00:00
Pinaki Poddar e966f0f51c OPENJPA-2355: Allow more than two input argument to CONCAT()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1459091 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:52:18 +00:00
Richard G. Curtis 085ea3eb07 OPENJPA-2354: Remove synchronized from pcReplaceStateManager method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 18:35:07 +00:00
Richard G. Curtis dd439b5ea9 OPENJPA-2353: Remove debug from previous commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458436 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:58:51 +00:00
Richard G. Curtis 3d5df48bbb OPENJPA-2353: Fix bug in BrokerImpl.initializeOperatingSet() initialization after deserialization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458432 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:55:17 +00:00
Richard G. Curtis 582cfc504a OPENJPA-2353: Reduce object allocations in DetachManagerLite.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458026 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:43:26 +00:00
Richard G. Curtis 1febbf7b16 OPENJPA-2353: Reduce object allocations in BrokerImpl.initializeOperatingSet().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457967 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:14:06 +00:00
Richard G. Curtis 47e402ce90 OPENJPA-2353: Reduce BitSet object allocations in StateManagerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457966 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:13:10 +00:00
Pinaki Poddar 70a201a55d OPENJPA-2305: Downcast the attribute, if necessary, while navigating a path
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456614 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 19:04:44 +00:00
Pinaki Poddar e617abd086 Simple change to stringify a collection of values with proper spaces
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456576 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:59:17 +00:00
Pinaki Poddar 0f4459fcb4 OPENJPA-2305: Revert to previous style of generated metamodel as flattening inherited variables violate the spec
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1456574 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 17:57:48 +00:00