Commit Graph

1693 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 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
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
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
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
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
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
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
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
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