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
Michael Dick
dd210a2831
OPENJPA-1558:
...
Check whether the result type is in the same entity hierarchy before using discriminator value when loading a relationship.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921620 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:19:25 +00:00
Jeremy Bauer
6234dbddfc
OPENJPA-1560 Committing JDBC escape sequence tests contributed by Dianne Richards.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 20:22:57 +00:00
Fay Wang
f69da24268
OPENJPA-1505: allow duplicate entity listeners to be configurable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921538 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 20:05:09 +00:00
Fay Wang
2798b0dd73
OPENJPA-1556: fix @Strategy inside Embeddable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921436 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:29:02 +00:00
Richard G. Curtis
137ad1bacc
OPENJPA-1559: Make DataCacheManager initialization thread safe.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921410 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 15:47:00 +00:00
Donald Woods
f82184314e
OPENJPA-1550 Fix comment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921177 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:34:06 +00:00
Donald Woods
695bd9c4bf
OPENJPA-1550 When batchLimit=-1 or >1 and an exception is caused, the params and failedObject are missing from the resultant exception. Original patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 22:29:18 +00:00
Donald Woods
8c8cd98a65
OPENJPA-645 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921042 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:25:40 +00:00
Donald Woods
a140e82bcf
OPENJPA-662 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921040 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:24:46 +00:00
Donald Woods
8599f5290a
OPENJPA-677 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921039 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:23:47 +00:00
Donald Woods
3fe201a542
OPENJPA-699 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921038 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:22:47 +00:00
Donald Woods
50458736d8
OPENJPA-760 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921037 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:20:53 +00:00
Donald Woods
3067690ac6
OPENJPA-766 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921035 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:19:40 +00:00
Donald Woods
4d33d1bcc8
OPENJPA-794 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921032 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:18:07 +00:00
Donald Woods
ef6e9d8cf1
OPENJPA-798 Show as being fixed in 2.0.0-M2
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921030 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:16:38 +00:00
Donald Woods
e1e697da05
OPENJPA-799 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921022 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:06:35 +00:00
Donald Woods
1623f14972
OPENJPA-801 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921021 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:05:26 +00:00
Donald Woods
5a014cc6cd
OPENJPA-802 Show as being fixed in 2.0.0-M1
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@921020 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 18:04:16 +00:00