1701 Commits

Author SHA1 Message Date
Mark Struberg
46bd717379 OPENJPA-2335 add a unit test for demonstrating the bug
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538480 13f79535-47bb-0310-9956-ffa450edef68
2013-11-04 00:00:42 +00:00
Mark Struberg
4f5b2528a3 [maven-release-plugin] rollback the release of openjpa-parent-2.3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538461 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 21:22:50 +00:00
Mark Struberg
8583c9b5b2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538091 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:41:23 +00:00
Mark Struberg
d2e67d03e6 [maven-release-plugin] prepare release openjpa-parent-2.3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538089 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:41:09 +00:00
Mark Struberg
945cd6b206 OPENJPA-2200 remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536638 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:13:25 +00:00
Mark Struberg
bf111757a7 OPENJPA-2437 transactional listeners added too late to observe begin event
txs 2 rmannibucau for the fix.
Patch applied with cleanup and tests pimped. 



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536596 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 06:37:51 +00:00
Mark Struberg
3f5c5b0235 OPENJPA-2444 move the cleanup after freeing the InputStream
Win* blocks the whole file as long as the InputStream is not closed.
Thus we can only delete the file afterwards.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536462 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 18:10:53 +00:00
Mark Struberg
db54b93b36 OPENJPA-2018 fix handling of Arrays in Select IN statements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536453 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 17:59:49 +00:00
Mark Struberg
d081e053eb OPENJPA-2018 improve unit test setup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535839 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 19:45:08 +00:00
Mark Struberg
3d223859ca OPENJPA-2018 correctly handle select IN with arrays
txs to rmannibucau for the patch.
Applied with minor changes



git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535816 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 18:51:08 +00:00
Mark Struberg
15426af915 OPENJPA-2444 also use target folder in the test itself
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535665 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 09:35:32 +00:00
Mark Struberg
cb0c80f6ac OPENJPA-2444 fix default orm.xml location for ReverseMappingTool
I also fixed the badly formatted and partly broken TestUseSchemaElement.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535560 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:31:58 +00:00
Richard G. Curtis
4d31e86c7f 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/branches/2.3.x@1535379 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 13:42:42 +00:00
Heath Thomann
1da1af03ca OPENJPA-2435: Version field in a projection always returned as an Integer. Merged 2.1.x changes to 2.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533288 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 23:22:40 +00:00
Heath Thomann
3b9ae7d72a OPENJPA-2425: SELECT fields with @ExternalValues defined returns datastore values instead of unmapped fields - applied Albert Lee's patch to 2.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533243 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 20:17:41 +00:00
Heath Thomann
a62f051d07 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 2.3.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533235 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 19:58:59 +00:00
Mark Struberg
0059797e00 OPENJPA-2221 also applied to 2.3.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1533026 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 09:57:05 +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