Commit Graph

1679 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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
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
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
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
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
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
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
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 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 e63abd92a7 OPENJPA-2325: Test cases for Mapped Super Class without identity field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436960 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:37:21 +00:00
Heath Thomann 56925f515f OPENJPA-2235: Updated TestIsolationFecthHint test to fix build failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426530 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 14:49:56 +00:00
Heath Thomann bded0a42b6 OPENJPA-2235: READ_UNCOMMITTED setting for the fetch plan isolation level is ignored in DB2Dictionary - applied Helen Xu's patch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1426352 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:21:52 +00:00
Heath Thomann 2d5ab5c862 OPENJPA-2289: Applied Albert's patch to trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415702 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 15:39:17 +00:00
Helen Xu e0d5b0505f OPENJPA-2295 speed up query metadata lookup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1414275 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 17:26:11 +00:00
Helen Xu af3df6bd11 OPENJPA-2282 do not append escape clause by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1413890 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 22:02:44 +00:00
Richard G. Curtis 160c71e068 OPENJPA-2285: Don't recache data from an Embedded StateManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1409420 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 21:31:27 +00:00
Richard G. Curtis 2980c1901e OPENJPA-2280: Reverting previous commits.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1404317 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 19:45:06 +00:00
Richard G. Curtis bfa7d2c696 OPENJPA-2280: Update testcase so it works on DB2.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1403472 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 19:59:19 +00:00
Richard G. Curtis 4b230ebb53 OPENJPA-2285: DataCacheStoreManager improvement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1402635 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 19:49:06 +00:00
Richard G. Curtis 0988966e5c OPENJPA-2280: Change AbstractDB2Dictionary numeric type mapping from DOUBLE to DECIMAL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1398979 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 20:30:31 +00:00
Richard G. Curtis 4823f1748e OPENJPA-1532: Enable shared-cache-mode to turn on datacache without needing openjpa.DataCache configuration. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396037 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 13:47:38 +00:00
Richard G. Curtis 3a6ffd834f OPENJPA-2269: Fix testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392928 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 14:33:47 +00:00
Albert Lee a06d373573 OPENJPA-2247 Complete fix for 1x1 bi and mx1 uni relationships of the described problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392661 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:42 +00:00
Richard G. Curtis fd4ca96050 OPENJPA-2267: Fix NPE in ResultPacker when there is a null result.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391218 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 21:05:07 +00:00
Richard G. Curtis e424097b56 OPENJPA-2269: Fix duplicate key exception when inserting into sequence table on multithreaded init.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391185 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 19:36:44 +00:00
Pinaki Poddar 0ae1199283 OPENJPA-2253 Add few Audit test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383729 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 01:28:31 +00:00
Jody Grassel e9a6d6681d OPENJPA-2261: Query SQL Cache issue with NULL parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383446 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 15:18:22 +00:00
Jody Grassel ef2065122a OPENJPA-2260: Parenthesis-augmented parameters are improperly processed at EM level
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383100 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 20:27:56 +00:00
Albert Lee 512520f7fb OPENJPA-2257 Properly synchronized _supportedKeys in ConigurationImpl. Test case contributed by Stephan Hagedorn.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1381326 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:53:52 +00:00
Albert Lee 4f930b1c29 OPENJPA-428 - Remove Id property from remaining map in Configurations
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1370866 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:02:44 +00:00
Richard G. Curtis 3e787f7fe3 OPENJPA-2247: Update testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369966 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:09:43 +00:00
Richard G. Curtis 2683a0227a OPENJPA-2247: Honor JoinColumn.name when mapping a uni-directional OneToOne that is in a SecondaryTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369043 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:34:35 +00:00
Richard G. Curtis a55000a4be OPENJPA-2229: Honor JoinColumn.name when mapping a uni-directional OneToOne that is in a SecondaryTable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1369042 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:33:00 +00:00
Richard G. Curtis bcda87c67b OPENJPA-2245: Fix NotSerializableException when using Criteria and QueryCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1368438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 12:54:26 +00:00
Albert Lee a7b90fd9ed OPENJPA-2232 - Disable TestAudit temporarily until problem is resolved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1366474 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 18:09:26 +00:00
Richard G. Curtis 4b04ef53cf OPENJPA-2228: Fix SQLBuffer when using an Entity with an EmbeddedId that has multiple pks and QuerySQLCache is enabled. Patch contributed by Helen Xu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1362679 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:59:10 +00:00
Kevin W. Sutter 5eb13dbde9 OPENJPA-2230. Set the _activated flag when processing EventListeners in super classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 19:46:41 +00:00
Albert Lee b5c83f05f9 Change TestId class name to IdTestClass to avoid JUnit 4 detects TestId is a test case and generates "java.lang.Exception: No runnable methods" failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1359936 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 22:24:16 +00:00
Richard G. Curtis 60c94ad412 OPENJPA-2030: Fix erroneous test commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356259 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:31:22 +00:00
Richard G. Curtis f5d06d7330 OPENJPA-2030: Fix line length.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354597 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 15:57:18 +00:00