Commit Graph

3481 Commits

Author SHA1 Message Date
Pinaki Poddar db11713e8c OPENJPA-1618: Convert the value not the key
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932054 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:35:56 +00:00
Donald Woods 1c76ad58a8 OPENJPA-1619 Fix intermittent TestTimestampVersion failures on various DBs when running on Windows
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932043 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:13:38 +00:00
Donald Woods c6e4e39fe4 OPENJPA-1616 add comment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932027 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:42:08 +00:00
Donald Woods e16c823464 OPENJPA-1616 Fix TestTimeoutException test failures on MySQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932025 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:39:18 +00:00
Donald Woods 5e62924fce OPENJPA-1616 Fix TestTimeoutException test failures on MSSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931693 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 21:22:52 +00:00
Donald Woods 684ae10b1d OPENJPA-1615 Disable the 3 failing tests when run against MSSQL for now
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931648 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 19:24:53 +00:00
Albert Lee 4555af14af OPENJPA-1609 - Commit contribution by Jody Grassel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931635 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 18:21:13 +00:00
Fay Wang afa1e44f81 OPENJPA-1602: check in test case
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931628 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 17:39:26 +00:00
Donald Woods b2b922e1c8 OPENJPA-1614 Testcase failures in TextException on MSSQL due to missing <object-exists> value in sql-error-state-codes.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931535 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 13:31:43 +00:00
Donald Woods 50202d956b OPENJPA-1550 Fix TestBatchLimitException tests for Oracle, which fails all statements in the batch, instead of just the duplicate entity.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@931354 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 22:11:42 +00:00
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