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
Milosz Tylenda
d386fa8067
OPENJPA-1510: Remove JDK 1.5 reference from Reverse Mapping section - this level of JDK is now a must to run OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924007 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 21:54:59 +00:00
Donald Woods
4bff5d71e8
OPENJPA-1097 Merge in test updates from 1.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 21:50:15 +00:00
Milosz Tylenda
6bc5ff8d3c
OPENJPA-1510: Typographical changes to Encryption Provider section.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@924002 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 21:41:34 +00:00
Milosz Tylenda
db7390af62
OPENJPA-1510: Update JPA Resources section with JEE 6 links.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923982 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 21:21:34 +00:00
Donald Woods
e56be85085
OPENJPA-1097 Remove duplicate code in DetachManager and cleanup comments/traces in tests
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923958 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 20:08:28 +00:00
Pinaki Poddar
0f5508e680
Better diagnostic messages on why a query can not be cached
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923940 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 19:10:49 +00:00
Pinaki Poddar
8dc74c1e59
Do not repeat class name in stringfied object id
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923938 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:58:37 +00:00
Michael Dick
c618b4692d
OPENJPA-1557:
...
Use openjpa.Log to control build logging instead of openjpa.loglevel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923929 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:44:11 +00:00
Pinaki Poddar
992ba73a71
OPENJPA-1565: Raise correct Query/LockTimeout exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923928 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 18:39:02 +00:00
Donald Woods
a99ea6218f
OPENJPA-1097 Revert previous DetachManager and TestProxyCollection changes in r919696. New code changes Proxies to always remove classes on serialization if the entity is detachable and one of our Proxy subclasses.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923873 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 17:09:45 +00:00
Pinaki Poddar
f3b00d7801
OPENJPA-1565: Raise correct Query/LockTimeout exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923864 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 16:47:15 +00:00
Jeremy Bauer
6d87bbdbb0
OPENJPA-1562 Committing code and test updates contributed by Dianne Richards. Refresh after remove was not throwing exception dictated by spec.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923849 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 16:32:14 +00:00
Pinaki Poddar
845f9b5018
OPENJPA-1578: Set CacheMode properties properly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:30:53 +00:00
Donald Woods
8a1e0307f2
OPENJPA-935 Show as being fixed in 2.0.0-M2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923748 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:15:45 +00:00
Donald Woods
b85c4e30fa
OPENJPA-1411 Include DayTrader test case in OpenJPA. Note: this is not pulled into the normal builds, as the openjpa-maven-plugin-1.1-SNAPSHOT has not been released.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923745 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 14:06:38 +00:00
Catalina Wei
a5ca9aae2d
OPENJPA-1573: Incorrect SQL for HAVING = entity variable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923589 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 06:11:18 +00:00