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
Milosz Tylenda
9c09bc3728
OPENJPA-1510: Correct broken and outdated links, make 'Ant' consistent in case.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923472 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 22:24:53 +00:00
Pinaki Poddar
efa6e5428e
OPENJPA-1575: Tests to detect parameterized fields in a query expression to exclude queries from cache that use parameters for externalized fields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923442 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 21:08:16 +00:00
Pinaki Poddar
d1b0d0fd6d
OPENJPA-1575: Detect parametrized fields in a query expression to exclude queries from cache that use parameters for externized fields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 21:07:14 +00:00
Albert Lee
b9d83ae33a
Add clarification contributed by Thomas Rowe.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923326 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 16:21:52 +00:00
Donald Woods
971c1fb5d4
OPENJPA-991 Remove from release notes as being fixed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@923222 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 13:42:26 +00:00
Milosz Tylenda
f05db49642
OPENJPA-1510: Correct broken links, remove link to non-existing locally mirrored JPA spec.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922946 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 20:24:36 +00:00
Milosz Tylenda
8f236c2aeb
OPENJPA-1510: Correct broken links in Configuring Savepoints section, remove OracleSavepointManager description since it does not exist in OpenJPA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922933 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 19:41:06 +00:00
Fay Wang
d69fb9a65a
OPENJPA-1570: fix @Strategy inside MappedSuper class
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922688 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:14:35 +00:00
Catalina Wei
8f45b5bf0b
OPENJPA-1568: Make createConnectionFactory() in JDBCConfigurationImpl public
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922441 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 22:31:45 +00:00
Catalina Wei
e2df6f49e4
OPENJPA-1568: Make createConnectionFactory() in JDBCConfigurationImpl public
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922399 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:18:07 +00:00
Donald Woods
7c748e62df
OPENJPA-1491 When used in an OSGi environment with Apache Aries, the org.apache.openjpa.kernel.Bootstrap should use the OpenJPA bundle classloader instead of the application bundle classloader to instatiate a BrokerFactory. Also moved our BundleActivator from the openjpa module to openjpa-persistence module with a BundleUtils wrapper to remove direct OSGi class refs, so the BundleContext in it could be accessed by PersistenceProviderImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922397 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:05:30 +00:00
Catalina Wei
6503eabef5
OPENJPA-1550: When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception.
...
avoid NullPointerException for JDBC provider using PureQUery APIs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922355 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 17:17:23 +00:00
Donald Woods
36b9628948
only create source jars for individual artifacts when -Prelease is used. the maven-shade-plugin will still create source jars in all build profiles for openjpa and openjpa-all jars.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922351 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 17:14:03 +00:00
Pinaki Poddar
5fec1aaaa6
Print unenhanced classes one per line for better readability.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922312 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 16:15:31 +00:00
Pinaki Poddar
732ff354b3
OPENJPA-1566: Allow access to keys of the statistics.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922311 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 16:14:47 +00:00
Pinaki Poddar
f04031edc1
OPENJPA-1565: Raise correct timeout exceptions.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922290 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:17:58 +00:00
Pinaki Poddar
4be5a5a194
OPENJPA-1565: Raise correct time out exception
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922288 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 15:08:16 +00:00
Pinaki Poddar
572d593427
OPENJPA-1561: Cache criteria query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922123 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 02:35:03 +00:00
Pinaki Poddar
f0f89c7e0e
OPENJPA-1561: Cache criteria query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@922119 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 02:25:52 +00:00
Donald Woods
0c65e3c409
OPENJPA-680 Show as fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921868 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 14:25:49 +00:00