Commit Graph

3206 Commits

Author SHA1 Message Date
Donald Woods 3df86b0e95 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/trunk@928251 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 19:33:52 +00:00
Donald Woods cb0ca8f009 OPENJPA-1597 Rollback MSSQL reserved word, but update Rider test entity failure on MSSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928241 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:56:32 +00:00
Donald Woods a9648ec87e OPENJPA-1597 Discovered 'rule' is a MSSQL reserved word
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928236 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:23:16 +00:00
Donald Woods 9a75bfe59d OPENJPA-1597 make another entity table name unique
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928209 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 14:50:41 +00:00
Donald Woods c0ad7b61a7 OPENJPA-1597 Add openjpa.Compatibility option IgnoreDetachedStateFieldForProxySerialization which 2.0 apps can set to true to fall back to 1.0 behavior and defaults 1.0 apps to old behavior of not removing classes after EM.clear() is called.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928128 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:12:07 +00:00
Albert Lee 0010c931cf OPENJPA-1599 - Retain em method user input property map content from modifications.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927629 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 22:53:12 +00:00
Donald Woods 5835eb3b6e OPENJPA-1597 Make entity table names unique
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927506 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:16:13 +00:00
Albert Lee 048ffd924d 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/trunk@927441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:08:55 +00:00
Donald Woods e88899d3a1 OPENJPA-1597 New tests to verify expected behavior for proposed Compatibility fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927427 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 14:43:41 +00:00
Michael Dick 666ec6c6de OPENJPA-1550:
Set failedObject on RollbackException.
Submitted By: Heath Thomann

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Donald Woods 162b11b542 merge in release note updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927139 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:59:31 +00:00
Donald Woods b872b6a6fc merge in release plugin update from 2.0.0-beta3
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927079 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 14:53:53 +00:00
Fay Wang e6ba2e9ed9 OPENJPA-1580: fix test case problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926816 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 22:28:29 +00:00
Fay Wang 53dddbeb8f OPENJPA-1596: make valid index name for DB2 zOS
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926741 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:27:24 +00:00
Donald Woods c4e1b1b339 OPENJPA-1466 show as being fixed in 2.0.0-beta
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:02:02 +00:00
Donald Woods 4efde73b40 merge in beta3 release note updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926720 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:48:36 +00:00
Catalina Wei 5df5db5ee8 OPENJPA-1585: Additional trace helps users to relate query or entity actions to SQL pushdowns
fix typo in doc

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926699 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:17:28 +00:00
Donald Woods d9f14ebd32 OPENJPA-1557 remove old openjpa.loglevel property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926697 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:17:01 +00:00
Donald Woods 799f48c54a merge in fix for source jar generation from 2.0.x branch. 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/trunk@926606 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 15:00:12 +00:00
Donald Woods 3701538ff6 OPENJPA-1411 Enable daytrader tests, now that openjpa-maven-plugin-1.1 is released
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926602 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:56:20 +00:00
Donald Woods 8bf38a7fee some additional trunk updates for the move to 2.1.0-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:36:15 +00:00
Donald Woods b5b65a7d4b [maven-release-plugin] prepare release 2.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +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
Pinaki Poddar 15c64cb8f4 OPENJPA-1584: Reparameterization when main and subquery using share query parameters in same or different declaration order
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925036 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:01:30 +00:00
Jeremy Bauer c864f5dfc0 OPENJPA-1583 Fix table name collision caused by having multiple TimestampedEntity entities.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@925009 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 21:39:29 +00:00
Pinaki Poddar 8c1175054f OPENJPA-1583: Timestamp version field in bulk update
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924938 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 18:32:19 +00:00
Michael Dick bd9b59c90f OPENJPA-1581:
make assertOpen public and call assertOpen before returning JPA cache

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:44:25 +00:00