Commit Graph

3221 Commits

Author SHA1 Message Date
Richard G. Curtis 59cdb21326 OPENJPA-1604: Backing out the two previous commits while investigating a couple test failures.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930957 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 20:48:54 +00:00
Donald Woods b382e52bbd cleanup indenting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930944 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 20:02:35 +00:00
Fay Wang f03f7b4f61 OPENJPA-1608: fix pessimistic write lock in informix
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 15:57:13 +00:00
Donald Woods b2d71bbe4d OPENJPA-1597 Update docs to mention previous serialization side effects
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930888 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 15:56:21 +00:00
Fay Wang 670d59ef0f OPENJPA-1611: fix EMBEDDED attr type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930721 13f79535-47bb-0310-9956-ffa450edef68
2010-04-04 17:28:52 +00:00
Pinaki Poddar e36547dafc OPENJPA-1604: Test for lock mode on named query and its impact on target SQL under pessimistic lock manager plus some usability changes. Does not restore backward compatibility with 1.2 behavior -- but removes the need to set the fecth plan hint etc and ensures named query lock mode other than NONE requires an active transaction.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930049 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 17:23:46 +00:00
Pinaki Poddar 6f6e94df76 OPENJPA-1604: Add lock mode to QueryMetaData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929971 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 13:44:38 +00:00
Pinaki Poddar 709bf862ab data initializilation from data cache - use input fetch, not the conetxt configuration; reduce checks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 23:13:45 +00:00
Dianne E. Richards 123dd7b51b OPENJPA-1606 Add JPQL tests for element collection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929620 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 17:01:27 +00:00
Donald Woods 0df0c0142f OPENJPA-1597 merge in code comment updates from 2.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 14:33:02 +00:00
Michael Dick 8579593f88 OPENJPA-1603:
Decouple the QueryCache from the DataCache. Code contributed by Mike Dick and Rick Curtis.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:42:29 +00:00
Pinaki Poddar 8abf57d913 OPENJPA-1294: New connection is not reference counted
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929184 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 16:33:16 +00:00
Pinaki Poddar b1a2190cf3 OPENJPA-1602: Ignore prepared queries that use locks
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928897 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 20:30:58 +00:00
Donald Woods 137071d9bf OPENJPA-1597 Migration doc updates to mention the new Compatibility flag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928854 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 18:10:16 +00:00
Donald Woods 371a31a41a OPENJPA-1597 cleanup code comments. merged in from 2.0.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928853 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 18:09:58 +00:00
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