Jody Grassel
d07e3828c6
OPENJPA-1988: openjpa does not process persistence unit default <cascade-persist>
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1636446 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 21:22:20 +00:00
Heath Thomann
bb81584a43
OPENJPA-2508: Account for JOIN FETCH statements when loading from the Query Cache. Back ported to 2.3.x Rick's trunk commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1602060 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 03:55:29 +00:00
Heath Thomann
bbb5acd621
OPENJPA-2478: Fixed erroneous message from the enhancer when a Mapped Superclass contains an @Id.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1591685 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 15:44:56 +00:00
Heath Thomann
52fcb281e1
OPENJPA-2476: Fixed OptimisticLockEx due to rounding of a Timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1591540 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 03:10:56 +00:00
Heath Thomann
76fb11ee8e
OPENJPA-1986: Extra queries being generated when cascading a persist - added another/similar check to the ones added by Rick.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1580909 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 16:38:28 +00:00
Richard G. Curtis
ad8f4be2e0
OPENJPA-2233: Merge changes from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1551447 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 02:33:28 +00:00
Mark Struberg
5e80bd92a7
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1540827 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 20:08:00 +00:00
Mark Struberg
4c3e9dbcdb
[maven-release-plugin] prepare release openjpa-parent-2.3.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1540825 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 20:07:41 +00:00
Heath Thomann
b0e220a056
OPENJPA-2449: refresh(PESSIMISTIC_WRITE) generates seperate SQL for the lock - applied to 2.3.x Albert Lee's patch.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1539199 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 23:41:06 +00:00
Mark Struberg
4f5b2528a3
[maven-release-plugin] rollback the release of openjpa-parent-2.3.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538461 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 21:22:50 +00:00
Mark Struberg
8583c9b5b2
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538091 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:41:23 +00:00
Mark Struberg
d2e67d03e6
[maven-release-plugin] prepare release openjpa-parent-2.3.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1538089 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:41:09 +00:00
Jody Grassel
a24ef499f3
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536793 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 16:23:36 +00:00
Mark Struberg
945cd6b206
OPENJPA-2200 remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536638 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:13:25 +00:00
Mark Struberg
bf111757a7
OPENJPA-2437 transactional listeners added too late to observe begin event
...
txs 2 rmannibucau for the fix.
Patch applied with cleanup and tests pimped.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1536596 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 06:37:51 +00:00
Richard G. Curtis
4d31e86c7f
OPENJPA-2443 : Fix SingleFieldManager to not check for null values for IDENTITY generated fields when flushing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1535379 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 13:42:42 +00:00
Mark Struberg
430379dbc8
OPENJPA-2283 use xbean-asm4-shaded ASM version as the dynamic handling doesn't work out
...
This makes sure we always have a guaranteed ASM version 4 regardless what ASM a
user might add to the project. This also rolls back the dynamic ASM handling of
OPENJPA-2171.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.3.x@1530808 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 22:10:48 +00:00
Jeremy Bauer
9f8a682a03
OPENJPA-2366 Committing code and unit tests contributed by Austin Dorenkamp
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1519550 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 04:18:09 +00:00
Jody Grassel
ee6f4acc3f
OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1516853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:11:17 +00:00
Jody Grassel
a0b872f5c2
OPENJPA-2413: FetchPlan.clearFetchGroups() does not retain default entry in list of active Fetch Groups.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1509031 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 21:05:37 +00:00
Jeremy Bauer
ca76712e38
OPENJPA-1794 aggregate function with no result set must return null
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1506198 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 18:26:42 +00:00
Richard G. Curtis
4cf336fd95
OPENJPA-2410 : Detect SystemOut/Err in code at build time. Patch submitted by Di Wu Lau.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504673 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 21:34:23 +00:00
Heath Thomann
dc2c72f8e1
OPENJPA-2355: Made changes to localizer.properties files to update the message previously added by this JIRA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1504282 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 21:18:30 +00:00
Michael Dick
8cb451d1df
OPENJPA-696: Make transaction synchronization registries non-static.
...
Patch is old - feel free to revert if something breaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1501634 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 02:14:30 +00:00
Jody Grassel
e406bda450
OPENJPA-2405: EntityManager.merge does not work for entity that is managed by another EntityManager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1498565 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:58:11 +00:00
Mark Struberg
0834454bdb
OPENJPA-2388 support for xbean shaded ASM4
...
txs to rmannibucau for the patch!
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1488102 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 06:05:16 +00:00
Helen Xu
5ce1ec400e
OPENJPA-2374: avoid OID creation when the lookup is not required.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1471113 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 19:44:05 +00:00
Pinaki Poddar
1869a7b07e
OPENJPA-2373: Add toString() for debugging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1469653 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 01:01:31 +00:00
Helen Xu
8b75df3c9b
OPENJPA-2369, eliminate the duplicate call to getUnloadedInternal function.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1468536 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 18:04:55 +00:00
Pinaki Poddar
3d11895269
OPENJPA-2365: Support for delete-by-query. Correction for hint processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1464082 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 15:51:52 +00:00
Jeremy Bauer
7f14c7df6b
Disable logging during brokerfactory de-serialization. Added type checking of plugin values.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:10:35 +00:00
Kevin W. Sutter
82027f4a35
OPENJPA-2342. Changed to use the getDeclaredInterfaceNames instead of getDeclaredInterfaceTypes. All testing is looking good and should alleviate the problem of the classloading.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461751 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:59:58 +00:00
Richard G. Curtis
c9fa4b9bda
OPENJPA-2357: Fix InvalidStateException when using the InverseManager. Fix contributed by Guillaume Chauvet.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1461090 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 12:43:29 +00:00
Pinaki Poddar
e966f0f51c
OPENJPA-2355: Allow more than two input argument to CONCAT()
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1459091 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:52:18 +00:00
Richard G. Curtis
085ea3eb07
OPENJPA-2354: Remove synchronized from pcReplaceStateManager method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458993 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 18:35:07 +00:00
Richard G. Curtis
dd439b5ea9
OPENJPA-2353: Remove debug from previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458436 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:58:51 +00:00
Richard G. Curtis
3d5df48bbb
OPENJPA-2353: Fix bug in BrokerImpl.initializeOperatingSet() initialization after deserialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458432 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:55:17 +00:00
Richard G. Curtis
582cfc504a
OPENJPA-2353: Reduce object allocations in DetachManagerLite.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1458026 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:43:26 +00:00
Richard G. Curtis
1febbf7b16
OPENJPA-2353: Reduce object allocations in BrokerImpl.initializeOperatingSet().
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457967 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:14:06 +00:00
Richard G. Curtis
47e402ce90
OPENJPA-2353: Reduce BitSet object allocations in StateManagerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1457966 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 20:13:10 +00:00
Richard G. Curtis
9f0f92fc07
OPENJPA-2285: Revert prior changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1455204 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 16:01:42 +00:00
Richard G. Curtis
e0bb4cd7c7
OPENJPA-2348: Revert prior commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1453928 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 15:50:36 +00:00
Richard G. Curtis
1e2b753afa
OPENJPA-2348: Cache calculated hashcode in OpenJPAId.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452884 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:25:55 +00:00
Richard G. Curtis
8c23eb3f48
OPENJPA-2347: Make StateManagerImpl more extensibile.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452874 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:13:14 +00:00
Richard G. Curtis
80d1fddb75
OPENJPA-2346: Minor performance improvement to MetaDataRepository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1452872 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 16:09:21 +00:00
Jody Grassel
3bdb0b95d8
OPENJPA-OpenJPA must support processing puRoot and jar-file URLs as jar-formatted InputStreams
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1446294 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 18:35:07 +00:00
Helen Xu
e12dcddc38
OPENJPA-2295 restore the old method to be compatible.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1437190 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 21:38:21 +00:00
Pinaki Poddar
01cae73832
OPENJPA-2325: Correct evaluation of identity type for MappedSuperclass without an identity field
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436957 13f79535-47bb-0310-9956-ffa450edef68
2013-01-22 14:35:32 +00:00
Heath Thomann
2c3ec95860
OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1436543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:41:30 +00:00
Heath Thomann
7d897d94ce
OPENJPA-2298: Applied Kevin's changes to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1415484 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 03:09:12 +00:00