Commit Graph

3195 Commits

Author SHA1 Message Date
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
Pinaki Poddar 081baaa856 Disable timeout tests on Oracle and DB2 till we know the reason
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924867 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 15:42:54 +00:00
Pinaki Poddar 4f11cba18a OPENJPA-1565: Some MySQL drivers return 0 error code for timeout exception
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924651 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:54:26 +00:00
Pinaki Poddar cb895a2b25 OPENJPA-1565: Oracle exception code 72000 is not fatal
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924638 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:26:36 +00:00
Pinaki Poddar 2ebb6e475a Better error message for multi-valued object path traversal
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924633 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 04:38:57 +00:00
Pinaki Poddar 1b20902b50 OPENJPA-1565,OPENJPA-1578:
Modify tests to raise correct lock/query exception
Fill in details in exception
Use retreive mode while initializing not store mode 

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 03:42:50 +00:00
Pinaki Poddar 976508eed2 Raise correct exceptions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924551 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 23:15:34 +00:00
Pinaki Poddar 63079316a0 THrow IllegalArg exception on null argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924518 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 22:11:02 +00:00
Jeremy Bauer 04bb066475 OPENJPA-1410 Disable loading of dynamic enhancement agent if OpenJPA is not loaded with the system classloader.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924395 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:58:40 +00:00
Jeremy Bauer 65385662b0 OPENJPA-1579 Committing test code for Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924391 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 17:57:18 +00:00
Fay Wang 41ce320cc0 OPENJPA-1577: disable query cache when user-defined field strategy is used.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924055 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 23:41:36 +00:00
Milosz Tylenda 3b15fe9e2d OPENJPA-1510: Remove JDK 1.4 references from Apache Commons Logging section.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924026 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 22:20:51 +00:00