Commit Graph

4776 Commits

Author SHA1 Message Date
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
Richard G. Curtis 9f0f92fc07 OPENJPA-2285: Revert prior changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1455204 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 16:01:42 +00:00
Richard G. Curtis e0bb4cd7c7 OPENJPA-2348: Revert prior commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1453928 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 15:50:36 +00:00
Richard G. Curtis 1e2b753afa OPENJPA-2348: Cache calculated hashcode in OpenJPAId.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452884 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:25:55 +00:00
Richard G. Curtis 8c23eb3f48 OPENJPA-2347: Make StateManagerImpl more extensibile.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452874 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:13:14 +00:00
Richard G. Curtis 80d1fddb75 OPENJPA-2346: Minor performance improvement to MetaDataRepository.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452872 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:09:21 +00:00
Pinaki Poddar ecd1246c80 OPENJPA-2305: Restore the inheritance hierarchy of the generated canonical metamodel to that of the domain model due to spec compliance, but flatten the attributes so that an inherited attribute uses generic parameter of owning class type instead of the declared supertype
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1451369 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 21:46:54 +00:00
Richard G. Curtis 326fcd7a4c OPENJPA-2330: Change test Entity names.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1448796 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 20:46:22 +00:00
Richard G. Curtis 5632d5ab0a OPENJPA-2330: Fix StackoverflowError when checking if a field is loaded. Test contributed by Guillaume Chauvet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1448662 13f79535-47bb-0310-9956-ffa450edef68
2013-02-21 14:39:07 +00:00
Richard G. Curtis fd5cc0436c OPENJPA-2328: Fix NoSuchElementException when using HandlerRelationMapTableFieldStrategy. Patch contributed by Guillaume Chauvet.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447955 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 22:54:35 +00:00
Pinaki Poddar 4fbf3fc1f0 OPENJPA-2336: Consider database dictionary schema case while matching join column name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447945 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 22:30:34 +00:00
Pinaki Poddar 7ce7e55620 OPENJPA-2335: Set non-default value to a foreign key contrained column
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1447906 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 20:33:15 +00:00
Albert Lee 05b41094b8 OPENJPA-2332 - Update "no-driver" message content for clarity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446687 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 16:57:26 +00:00
Jody Grassel 3bdb0b95d8 OPENJPA-OpenJPA must support processing puRoot and jar-file URLs as jar-formatted InputStreams
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446294 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 18:35:07 +00:00