Commit Graph

3410 Commits

Author SHA1 Message Date
Donald Woods 071e698899 OPENJPA-1597 Revert code added to DetachManager to unproxy objects when detached in-place. Updated tests to verify old behavior of detached entites still having references, but that they are removed during serialization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@928271 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:53:53 +00:00
Donald Woods 5655a9b462 OPENJPA-1597 Fix a test failure on MSSQL. Merged in test code update from trunk r928241.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@928249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 19:28:28 +00:00
Albert Lee d81cbbd8bb OPENJPA-1599 - Retain em method user input property map content from modifications.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927630 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 22:53:14 +00:00
Donald Woods 7382ba2f84 OPENJPA-1597 Make entity table names unique
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927521 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:40:55 +00:00
Albert Lee 1c2f4470a2 OPENJPA-1599 - Push Cache*Mode value(s) in fetch configuration set from property making the property value(s) only valid during the em method call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927442 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:09:00 +00:00
Donald Woods fb60f8136f OPENJPA-1597 New tests to verify expected behavior for proposed Compatibility fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 14:58:56 +00:00
Michael Dick 8987041469 OPENJPA-1550:
Set failedObject on RollbackException.
Submitted By: Heath Thomann

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:39 +00:00
Donald Woods 4b45c156aa OPENJPA-1236 show as being fixed in 2.0.0-beta
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927150 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 18:50:01 +00:00
Donald Woods 4a2a2928f8 OPENJPA-1189 show as being fixed in 2.0.0-beta
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927149 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 18:48:40 +00:00
Donald Woods 33bd15764a OPENJPA-1371 show as being fixed in 2.0.0-M3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:49:36 +00:00
Donald Woods e1d84c8fcc OPENJPA-1557 show as being fixed in 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927129 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:46:23 +00:00
Donald Woods f1d27cb7b5 OPENJPA-1579 show as being fixed in 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927128 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:43:07 +00:00
Donald Woods 85bf5b8122 OPENJPA-1560 show as being fixed in 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927126 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:42:04 +00:00
Donald Woods 565b4cdc3f OPENJPA-1335 show as being fixed in 2.0.0-M3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927125 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:39:14 +00:00
Donald Woods 4f213ff188 OPENJPA-1562 show as being fixed in 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927124 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:36:30 +00:00
Donald Woods 19fd6476fb OPENJPA-1580: fix test case problem for DB2. Merged in patch from Fay Wang in trunk r926816.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@927111 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 16:24:24 +00:00
Donald Woods deeb5d59ff [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926798 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:32 +00:00
Donald Woods 78020af127 [maven-release-plugin] prepare release 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926796 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:15 +00:00
Donald Woods 9eb0175249 OPENJPA-1596 Index name too long for DB2 zOS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926758 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 20:03:21 +00:00
Donald Woods ff857f1cc5 OPENJPA-1466 show as being fixed in 2.0.0-beta
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926732 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:00:49 +00:00
Donald Woods d4b77d61a4 OPENJPA-1585 merge doc typo fix from trunk r926699
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926723 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:51:12 +00:00
Donald Woods e373482239 update release notes for beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926719 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:47:58 +00:00
Donald Woods a471f07d99 OPENJPA-1557 remove old openjpa.loglevel property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926696 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:15:37 +00:00
Donald Woods 00934104b3 fix source jar generation in preparation for a 2.0.0-beta3 release, as we need maven-source-plugin in the default build instead of the release profile. Developers can still turn off source jar generation for local builds by setting -DcreateSource=none and -DcreateSources=false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926605 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:59:56 +00:00
Donald Woods bdfd3867a2 OPENJPA-1411 Enable daytrader tests, now that openjpa-maven-plugin-1.1 is released
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926603 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:56:55 +00:00
Donald Woods 80ca1e76d0 [maven-release-plugin] copy for branch 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@926435 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:33 +00:00
Donald Woods 676a2f74f6 [maven-release-plugin] prepare branch 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926434 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:29 +00:00
Donald Woods 73f1a0869e OPENJPA-1205 Show as being fixed in 2.0.0-M3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926423 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 01:29:41 +00:00
Donald Woods a7c0b3e918 OPENJPA-1074 Show as being fixed in 2.0.0-M3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926422 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 01:27:28 +00:00
Donald Woods db10ada93e OPENJPA-1406 Remove pointers to JIRAs, but leave as comments in the source.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926363 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 21:53:37 +00:00
Donald Woods 148522b865 OPENJPA-1411 Switch back to antrun since openjpa-maven-plugin-1.1 hasn't been released yet. Also, these tests are not included in the normal builds.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926287 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 19:44:58 +00:00
Richard G. Curtis 1c0abb5207 OPENJPA-1591: Refactor/rename DataCacheScheduler to allow for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:29:15 +00:00
Donald Woods 86546e1e12 OPENJPA-1097 Add a note in the Migration Considerations doc about the 'fixed' serialization behavior and how DetachedStateField can be used to modify the behavior.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926225 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:58:56 +00:00
Donald Woods 94a1323dfb OPENJPA-1406 Replace tabs with spaces and fix identing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926190 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:03:17 +00:00
Albert Lee 201d680a0d OPENJPA-1586 - Commit test case contribution by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926181 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:52:39 +00:00
Richard G. Curtis 87ea1de7c2 OPENJPA-1591: Add PersistenceCapeable setter to StateManagerImpl to allow for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926180 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:50:48 +00:00
Richard G. Curtis 72d0c20634 OPENJPA-1591: Make AttachManager a public class to allow for code outside of org.apache.openjpa.kernel to access it.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926178 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:48:49 +00:00
Donald Woods 28d495e14b OPENJPA-1097 Add some doc details on how the serialization of proxies works and new behavior of using DetachedStateField to ensure proxies are removed when it is set to transient or false.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926160 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:26:51 +00:00
Donald Woods 7c613e69d1 OPENJPA-1406 Split up DetachedStateField into two sections
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926124 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 15:20:38 +00:00
Donald Woods 773eefc313 OPENJPA-1097 Cleanup imports and add more comments on the before/after behavior of writeReplace().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926104 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:25:22 +00:00
Richard G. Curtis c20a4ef303 OPENJPA-1545: Only detach StateManagers that aren't already detached.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925918 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 22:13:22 +00:00
Catalina Wei da262a651a OPENJPA-1585: Additional trace helps users to relate query or entity actions to SQL pushdowns
update Reference Guide for SQLDiag logging channel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925847 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:58:09 +00:00
Kevin W. Sutter 43c4cff942 OPENJPA-1588. Removed the processing of the CacheStoreMode property from the convertToKernelValue method. Also, corrected the spelling of this method.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925703 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 00:19:27 +00:00
Catalina Wei 148db96a8c OPENJPA-1585: Additional trace helps users to relate query or entity actions to SQL pushdowns
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 04:11:05 +00:00
Pinaki Poddar 1b9d80003a Allow user to set the cache mode enum values on EntityManager.setProperty() by String
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925451 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:55:44 +00:00
Albert Lee e6fc6fab0a OPENJPA-1583 - fix intermittent failures in timestamp version assertion.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:31:17 +00:00
Donald Woods 4f9de8e360 OPENJPA-1097 Use DetachedStateField to determine when to keep in the serialized entities or not
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925416 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 20:51:20 +00:00
Pinaki Poddar 9f326c0f8b Correct expected value for paging query and disable (temporariliy) subquery + constant literals case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925335 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:08:13 +00:00
Pinaki Poddar 73b7d4748b OPENJPA-1491: Add OpenJPA-OSGi package description.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925293 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 16:05:36 +00:00
Fay Wang 13e3c48cae OPENJPA-1580: disable query cache when pagination is involved.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925048 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:52:33 +00:00