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
Jody Grassel
89b44bbf6c
OPENJPA-2288: MetaDataRepository should be able to filter classes from other app ClassLoaders in JEE Env
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1414398 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 20:51:44 +00:00
Helen Xu
e0d5b0505f
OPENJPA-2295 speed up query metadata lookup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1414275 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 17:26:11 +00:00
Richard G. Curtis
d6367874ae
OPENJPA-1532: Minor message updates.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1409441 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 21:43:09 +00:00
Richard G. Curtis
160c71e068
OPENJPA-2285: Don't recache data from an Embedded StateManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1409420 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 21:31:27 +00:00
Richard G. Curtis
c6fa108b30
OPENJPA-2293: Don't check for listeners if exclude-default-listener is configured.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1406241 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:43:22 +00:00
Richard G. Curtis
cd7851e9d3
OPENJPA-2292: Use java.util.IdentityHashMap in BrokerImpl.initializeOperatingSet to reduce object allocations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1406228 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 17:17:04 +00:00
Richard G. Curtis
4b230ebb53
OPENJPA-2285: DataCacheStoreManager improvement.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1402635 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 19:49:06 +00:00
Richard G. Curtis
e5f91d12b4
OPENJPA-2234: Remove failing testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396185 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 18:42:12 +00:00
Richard G. Curtis
94969374f6
OPENJPA-2234: Avoid NPE when the ManagedRuntime returns a null TransactionManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396043 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 14:23:36 +00:00
Richard G. Curtis
4823f1748e
OPENJPA-1532: Enable shared-cache-mode to turn on datacache without needing openjpa.DataCache configuration. Patch contributed by Helen Xu.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1396037 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 13:47:38 +00:00
Richard G. Curtis
1c2ec168ed
OPENJPA-2171: Fix ASM static init exception text.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1392424 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 16:18:54 +00:00
Pinaki Poddar
fd8e5fe865
Add some solution hint in the error message
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391630 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 20:14:34 +00:00
Richard G. Curtis
fd4ca96050
OPENJPA-2267: Fix NPE in ResultPacker when there is a null result.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1391218 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 21:05:07 +00:00
Pinaki Poddar
ae3441b049
OPENJPA-2253: Clear temporary storage for audit to prevent memory leak
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383728 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 01:25:13 +00:00
Pinaki Poddar
556d796ed3
OPENJPA-2253: Clear temporary storage for audit to prevent memory leak
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1383727 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 01:23:32 +00:00
Mark Struberg
a5992927e3
OPENJPA-2171 pickup existing ASM shades if possible
...
To prevent classpath clashes we try to pickup a few
known ASM shades.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1371607 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 08:49:03 +00:00
Richard G. Curtis
bcda87c67b
OPENJPA-2245: Fix NotSerializableException when using Criteria and QueryCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1368438 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 12:54:26 +00:00
Jody Grassel
5c05a69ce6
OPENJPA-2227: OpenJPA doesn't find custom SequenceGenerators
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1367126 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 15:40:35 +00:00
Richard G. Curtis
5afd4e851b
OPENJPA-2238: Don't create custom proxies for default scoped classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1364683 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:35:01 +00:00
Richard G. Curtis
a42c9c280a
OPENJPA-2229: Add support for JBoss vfs when process Entities.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361564 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:17:54 +00:00
Kevin W. Sutter
5eb13dbde9
OPENJPA-2230. Set the _activated flag when processing EventListeners in super classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 19:46:41 +00:00
Albert Lee
f30d74802d
OPENJPA-2199 - Guard null pc value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1361285 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:16 +00:00
Pinaki Poddar
dc339a98bc
Reduce log level when meta class not found
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1356544 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 02:18:03 +00:00
Pinaki Poddar
318642931b
OPENJPA-2030: Collect dirty fields with a smarter loop
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354265 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:11:49 +00:00
Pinaki Poddar
325c7a2f2f
OPENJPA-2030: Add support to detect dirty outside transaction
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354233 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 21:04:12 +00:00
Richard G. Curtis
3f03f91eb8
OPENJPA-2209: Add comment to AbstractBrokerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346896 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 14:00:05 +00:00
Richard G. Curtis
c120b18eb9
OPENJPA-2209: Allow configuration of MetaDataRepository preloading with a lowercase property.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1346874 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 13:10:51 +00:00
Richard G. Curtis
7cee19d3be
OPENJPA-2151: Fix NPE in ClassMetaData.hasInverseManagedFields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1342747 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 17:58:06 +00:00
Jeremy Bauer
f617557bc3
OPENJPA-2165 provide setters for element validation and tracker in new delayed proxy types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1340217 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 19:27:41 +00:00
Richard G. Curtis
32d2a85011
OPENJPA-2191: Add null check when initializing AbstractQueryCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1337526 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 12:50:32 +00:00
Jody Grassel
8c8e250f40
OPENJPA-2133: OpenJPA doesn't find custom mappings with an applicable class loader
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1333982 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 14:18:19 +00:00
Richard G. Curtis
432499a3a6
OPENJPA-2161: Refactor revision 1306530 and make StateManagerImpl._meta protected.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1333082 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 15:49:29 +00:00
Jeremy Bauer
df8d3c4416
OPENJPA-2165 Minor fixes, more proxy types, testcases, and doc udpates
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1331051 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 19:53:49 +00:00
Richard G. Curtis
b7bd2c873d
OPENJPA-2110: Create correct proxy type when type is defined in an abstract class.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1324759 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 13:40:53 +00:00
Mark Struberg
08b0dd2913
OPENJPA-2139 reset the BrokerFactory state if an Exception occured
...
This happens e.g. if the database is not available at the time the
first DB access is performed. This did lead to a complete hook up
until the whole application got restarted after the db reappeared.
This fix will now ensure that all the column-key caching and stuff
will be tried over again until the db is available again.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1311191 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 10:26:49 +00:00
Kevin W. Sutter
60e42eddda
OPENJPA-2168. Forgot to check whether the base LifecycleEventManager was activated when the ValidatingLifecycleEventManager is in play.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1309812 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 12:19:20 +00:00
Kevin W. Sutter
f3dbb5acad
OPENJPA-2168. Modified the approach for detecting life cycle event processing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1308362 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 14:25:26 +00:00
Jeremy Bauer
31da969bd6
OPENJPA-2165 minor improvements to delayed collection loading
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1308194 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 20:23:47 +00:00
Richard G. Curtis
9030633959
OPENJPA-2151: If transitioning from PClean to PNonTransState, don't reset dirty bitset.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1308184 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 19:40:59 +00:00
Kevin W. Sutter
6b6c06330a
OPENJPA-2168. Move call to check for existing Listeners higher in the call stack.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307916 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 21:57:22 +00:00
Kevin W. Sutter
c5d2d2c217
OPENJPA-2151. Optimizations to StateManagerImpl.initialize and FieldMetaData access.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307622 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 21:26:31 +00:00
Kevin W. Sutter
83916ff986
OPENJPA-2164. If the field being requested is already loaded, then skip the overhead and just return the field value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307608 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 20:56:44 +00:00
Kevin W. Sutter
b897fe50cc
OPENJPA-2167. Allow "none" setting for AutoDetach for debug purposes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307425 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 13:57:29 +00:00
Kevin W. Sutter
90fcd9623d
OPENJPA-2167. Only attempt to fire TransactionEvents if the TransactionEventManager is not empty.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 02:19:45 +00:00
Kevin W. Sutter
208be279f9
OPENJPA-2167. Only reload the proxy fields if the field is loaded and dirty.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307217 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 02:02:50 +00:00
Albert Lee
42372cf609
OPENJPA-2163 Simplify configuration: move SingletonLifecycleEventManager from property to Compatibility option.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1307018 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 17:50:19 +00:00
Albert Lee
284b6e5ced
OPENJPA-2163 Add SingletonLifecycleEventManager property to interface and documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306636 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 23:01:42 +00:00
Albert Lee
f506835fa8
OPENJPA-2163 Change LifecycleEventManager PluginValue's singleton default value from true to false. Add SingletonLifecycleEventManager property allow previous property to switch singleton value back to true. Since LifecycleEventManager is a internal property for BeanValidation support, the SingletonLifecycleEventManager property will be kept as internal property as well.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306592 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 20:52:08 +00:00
Richard G. Curtis
b2cc17c135
OPENJPA-2161: Refactor storing ClassMetaData in StateManagerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306530 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 18:41:57 +00:00
Jeremy Bauer
3e1de6c8e3
OPENJPA-2165 Added support for non-db-ordered list proxies that provide the ability to do non-indexed add or remove operations without loading the collection from the database. Testcases and documentation will follow in future commits.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1306449 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 16:10:35 +00:00
Richard G. Curtis
3d04bdd463
OPENJPA-2161: Make StateManagerId public to allow for greater extensibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1305055 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 15:01:54 +00:00
Richard G. Curtis
1925881f5d
OPENJPA-2158: Null out StateManager when lite auto detaching proxies.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1303507 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:06:42 +00:00
Jeremy Bauer
f4e1d195bb
OPENJPA-2120 add optimization to methods that use a field manager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1300380 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 22:10:24 +00:00
Jeremy Bauer
ecf492ac46
OPENJPA-2143 reverting back to previous revision
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1297989 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 15:20:04 +00:00
Jody Grassel
8971fda1aa
OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1294791 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 19:08:03 +00:00
Jeremy Bauer
ce44b7ddcd
OPENJPA-2143 reduce lock contention on LifecycleEventManager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293402 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 20:35:02 +00:00
Dianne E. Richards
c275da64ab
OPENJPA-2142 Handle merge of new object with Entity Id field
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1293315 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 16:09:31 +00:00
Richard G. Curtis
1f3f320af3
OPENJPA-2137: Make some StateManagerImpl fields protected to allow for greater extensibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292044 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 21:39:49 +00:00
Richard G. Curtis
6599b7b403
OPENJPA-2136: Fix NPE when using LiteAutoDetach.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1292034 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 21:14:57 +00:00
Albert Lee
408d8b4463
Update pom.xml version to 2.3.0-SNAPSHOTS in trunk after 2.2.0 is released.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1291435 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 20:37:05 +00:00
Albert Lee
4d1e1bc8df
[maven-release-plugin] prepare release 2.2.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1244808 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:30:29 +00:00
Kevin W. Sutter
2bbbcc9d73
OPENJPA-2099. With Pinaki's green light, we're going to back out the changes for OpenJPA-2099 and OpenJPA-2111 so that we can make progress on the OpenJPA 2.2.0 release.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1243702 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:23:54 +00:00
Kevin W. Sutter
91eb9d4792
OPENJPA-2122. The conditional to check for the proper Java 7 major version (51) was incorrect. I also updated how we invoked the ASM hook so that the Trace message in the finally block would output the correct number of bytes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241719 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 00:52:32 +00:00
Jeremy Bauer
e14af5d7ab
OPENJPA-2120 Add option for optimizing copy operations for qualifying id classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1241207 13f79535-47bb-0310-9956-ffa450edef68
2012-02-06 22:03:02 +00:00
Jody Grassel
52ea95686b
OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1240284 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:34:30 +00:00
Pinaki Poddar
fc1ea49c38
OPENJPA-2116: Optimize frequent operations a) field denotes a relation and b) schema name needs conversion.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236326 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 17:56:12 +00:00
Pinaki Poddar
3929e28cda
OPENJPA-1050: Use generics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236282 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:37:54 +00:00
Pinaki Poddar
e37a589072
OPENJPA:1050: Use generics
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1236280 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 16:36:38 +00:00
Pinaki Poddar
49adef7c61
OPENJPA-2099: Use thread gate for reused select. Guard parameter binding
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1235533 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:26:27 +00:00
Richard G. Curtis
2c65619be4
OPENJPA-2068: Fixing a bug where we were incorrectly removing LRS proxy fields while loading the proxy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233434 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 15:33:01 +00:00
Pinaki Poddar
c2e11e7f13
Let PCEhancer report the class it is enhancing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1233021 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:57:22 +00:00
Pinaki Poddar
1a50b5fe76
OPENJPA:2099: Cacheing select construct with class/field strategy. Adding configuration
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1232415 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 14:04:07 +00:00
Richard G. Curtis
d354f7cf84
OPENJPA-2107: Only reset Broker.flushed flag if initializing a new Statemanager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1231375 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 22:59:33 +00:00
Mark Struberg
3beb74571a
switch back trunk to 2.2.0-SNAPSHOT
...
we wil restart the 2.2.x after a few important fixes on trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1230495 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 11:28:50 +00:00
Mark Struberg
6289157f9c
release preparation. Move trunk to 2.3.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1229557 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 14:29:08 +00:00
Heath Thomann
59d0a5262b
OPENJPA-2102: Added code to compare decoded URLs in AbstractCFMetaDataFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1227364 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 22:29:38 +00:00
Jody Grassel
1a383857ff
OPENJPA-2094: Metadata processing needs to support jar:file URLs that address Jar directories
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1213958 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 22:05:28 +00:00
Richard G. Curtis
e24439984b
OPENJPA-2068: Optimized calendar creation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1212503 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 16:30:58 +00:00
Mark Struberg
4bffcc9c9a
OPENJPA-1873 fix PostLoad entity listener behaviour
...
This fix introduces a new flag POST_LOAD_ON_MERGE wich is disabled
by default, retaining the old behaviour.
Enabling it will guarantee that the Entity posted to PostLoad entity
listeners are always the one from the database. This fixes the old
habit that PostLoad will also get triggered (with false/mixed values)
for lazy loading, merging, etc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1211873 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 13:27:31 +00:00
Albert Lee
9fdf242b40
OPENJPA-2085 Use ASM to reconstruct the missing StackMapTable attribute in class file after entity enhancement. BCClassWriter is contributed by Brett Kail.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1209373 13f79535-47bb-0310-9956-ffa450edef68
2011-12-02 06:42:55 +00:00
Richard G. Curtis
c3d9750f74
OPENJPA-2047: Make persistence-aware message less verbose. Patch contributed by Jacob Nowosatka.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1207647 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 22:01:50 +00:00
Richard G. Curtis
d52e73f024
OPENJPA-2075: Abstract parameter handling from QueryImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1203337 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 19:13:07 +00:00
Richard G. Curtis
f81908f3ac
OPENJPA-1986: Update migration consideration docs and Compatibility javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1202800 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 17:30:19 +00:00
Pinaki Poddar
83bc7aa8ef
Relax query engine for extension
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1200388 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:46:14 +00:00
Albert Lee
d64a3e5fdb
OPENJPA-2071 Guarded NPE against isInterface call from ResultPacker constructor with null parameter
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1199919 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 19:02:10 +00:00
Richard G. Curtis
9c1ac5ffc9
OPENJPA-2042: Fix possible NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1198786 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 15:44:58 +00:00
Richard G. Curtis
3d5b44956d
OPENJPA-2057: Reverting previous commits.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1197994 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 17:17:26 +00:00
Pinaki Poddar
31e00f7d76
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1194953 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 17:55:26 +00:00
Pinaki Poddar
8d21608618
OPENJPA-2065: allow interface as result class
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190723 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 01:04:52 +00:00
Pinaki Poddar
3494fab794
OPENJPA-2057: Change classloading scheme
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1190716 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 00:44:11 +00:00
Heath Thomann
c8a84fd37d
OPENJPA-2051: Change to ensure entities are properly cascaded after a flush.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1186903 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 16:37:15 +00:00
Pinaki Poddar
e65b2aa518
OPENJPA-2030: Loading custom Auditor in OSGi environment
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1176436 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 15:32:59 +00:00
Michael Dick
fe7e359367
OPENJPA-2042: Use weak reference HashSet to store registered class listeners.
...
Submitted By: Jacob Nowosatka
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1171135 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 15:28:19 +00:00
Pinaki Poddar
905500dd19
Checkstyle problems
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1162349 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 13:39:46 +00:00
Pinaki Poddar
18fed4dd53
OPENJPA-2030: Refactor AuditManager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1162163 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 16:54:04 +00:00
Pinaki Poddar
5e073afe94
OPENJPA-2030: Audit is inactive by default
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161622 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 16:11:08 +00:00
Albert Lee
184922df56
OPENJPA-2030 Add newline to EOF
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161618 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 16:00:50 +00:00
Pinaki Poddar
ab5e97d06d
OPENJPA-2030: Fix Checkstyle error
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161580 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 14:37:51 +00:00
Michael Dick
cdd53067bf
OPENJPA-2030: set eol-style on new files
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161564 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 13:32:15 +00:00
Pinaki Poddar
8996376462
OPENJPA-2030: First version of Audit facility
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161349 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 01:06:39 +00:00
Pinaki Poddar
a35c187d8f
OPENJPA-2030: First version of Audit facility
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1161348 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 01:06:11 +00:00
Albert Lee
d99c5c06c3
OPENJPA-2043 make cached hashcode non-transient and avoid using variant hashcode from Class object.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1160528 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 02:34:48 +00:00
Michael Dick
78d8843009
OPENJPA-2040: Default to non-strict MetaData and Mapping Factories when a user provided factory class is set.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1159318 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 17:20:04 +00:00
Heath Thomann
3598a2d8eb
OPENJPA-758: Added code to check the ClassResolver to get a class loader when attempting to load a ValueHandler or FieldStrategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1155394 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 15:21:06 +00:00
Richard G. Curtis
45bceaa991
OPENJPA-2035: Backing out previous changes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1154992 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 15:32:39 +00:00
Michael Dick
4412599698
OPENJPA-2036: Check JAVA_HOME for lib/tools.jar for all java vendors, not just IBM.
...
Submitted By: Jason Pyeron
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1151885 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 15:03:04 +00:00
Richard G. Curtis
868035a540
OPENJPA-2035: Remove JMock from imports from testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150810 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 17:51:41 +00:00
Richard G. Curtis
139cd88d35
OPENJPA-2035: Fix testcase to run from cmd line.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150757 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 15:49:06 +00:00
Michael Dick
22356a66e7
OPENJPA-2035: setting svn:eol-style on new file
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150700 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 13:46:15 +00:00
Richard G. Curtis
03f054f8c9
OPENJPA-2035: Allow distributed cache(s) operate without needing domain classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1150346 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 12:54:45 +00:00
Michael Dick
928aa703cb
OPENJPA-2027: Use SingularAttribute for unannotated arrays. ListAttribute for @PersistentCollections
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1143519 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 18:17:36 +00:00
Milosz Tylenda
8a85ffb402
OPENJPA-487: Simplify generated SQL for SUBSTRING and LOCATE JPQL functions by switching from JDO style to JPA style in expressions. SUBSTRING parameters are still inlined to support grouping by SUBSTRING.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1142426 13f79535-47bb-0310-9956-ffa450edef68
2011-07-03 12:32:03 +00:00
Pinaki Poddar
31c0249e14
OPENJPA-2017: Adding DEATCH.NONE option. Retry commit after local test run
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141556 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 14:54:31 +00:00
Richard G. Curtis
c8c6c9d68c
OPENJPA-1986: Remove newly added serialVersionUID.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141158 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:46:18 +00:00
Richard G. Curtis
01082363b7
OPENJPA-2020: Undo some of previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1141142 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:00:54 +00:00
Michael Dick
3a2d50e011
OPENJPA-1768: Check whether the broker is already loading before recursively loading an entity from datacache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1140315 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 20:59:01 +00:00
Richard G. Curtis
ba7f21fcf1
OPENJPA-2020: Open up some of StateManagerImpl to all for greater extensibility.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1140197 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:06:21 +00:00
Michael Dick
f0fbbaa26a
OPENJPA-2017: Changes cause test failures in openjpa-lib. Reverting for now.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1137645 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 14:54:58 +00:00
Pinaki Poddar
db960fbeae
OPENJPA-2017: Introduce AutoDetach.NONE option to improve batch insert operation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135857 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 23:51:18 +00:00
Pinaki Poddar
9be9d836c4
OPENJPA-2017: Introduce AutoDetach.NONE option to improve batch insert operation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135776 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 20:18:20 +00:00
Pinaki Poddar
0046a656c9
Print configuration array values properly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1135320 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:17:40 +00:00
Richard G. Curtis
cc3c3eb055
OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134726 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 19:00:01 +00:00
Heath Thomann
cabf34a6fd
OPENJPA-1999: Optional support for non-sequential positional parameters - used Rick's provided patch for trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1134128 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 23:16:09 +00:00
Michael Dick
8ef3f3db35
OPENJPA-2011: Optionally prevent reparsing annotations in in query mode.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133900 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 14:49:11 +00:00
Pinaki Poddar
0de12ed492
OPENJPA-2012: Support in-memory MIN()/MAX() on non-numeric types
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133605 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 23:50:30 +00:00
Michael Dick
0bcded74e1
OPENJPA-2010: Check line number and source file before logging duplicate meta data warning
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1133546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:19:03 +00:00
Jeremy Bauer
81c46c503f
OPENJPA-2006 If flushing, also pre-flush non-provisional entities to allow sequence ID population.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1127573 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:11:47 +00:00
Michael Dick
1148ba809d
OPENJPA-1995: detect mixed parameter types in JPQL query
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1101289 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 02:42:30 +00:00
Michael Dick
26aa776627
OPENJPA-1992: Throw exception if a JPQL query is missing the first positional parameter
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100787 13f79535-47bb-0310-9956-ffa450edef68
2011-05-08 18:39:07 +00:00
Jody Grassel
6fc7d55a09
OPENJPA-1993: Deadlock Potential with XML ORM Processing
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1100363 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 20:22:23 +00:00
Richard G. Curtis
1b8ce008b2
OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1097209 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 19:16:36 +00:00
Pinaki Poddar
bb50bc3caf
Reduce verbosity of missing canonical meta-classes.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096937 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 22:39:12 +00:00
Michael Dick
76552a11fd
remove casts for broker factory aliases
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096876 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 19:54:27 +00:00
Albert Lee
9ea0354f1b
OPENJPA-1984 - Skip non-root object validation when performing remove(root object). Let's validation provider to perform root object validation so that the contraint violation can report the correct root bean.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1096791 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 16:00:52 +00:00
Richard G. Curtis
354eb3078e
OPENJPA-1983: Don't cascade to an unloaded field when merge is called on a managed Entity.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1095401 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 13:27:56 +00:00
Jeremy Bauer
e6b590d73d
OPENJPA-1966 Updated attach strategies to query attach cache before going to the broker for entity references. Prevents merging in a detached entity that is being used for field attachment.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1087054 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:32:41 +00:00
Richard G. Curtis
9b5fa5152a
OPENJPA-1960: Allow openjpa.InitializeEagerly to be used with BV.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084349 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 20:50:21 +00:00
Richard G. Curtis
7eb317e488
OPENJPA-1928: Fix @Factory method resolution when name is ambiguous. Patch contributed by Edward Sargisson.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084280 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:23:28 +00:00
Richard G. Curtis
2cfb4f6232
OPENJPA-1944: Properly handle a null version field.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084265 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:41:58 +00:00
Jeremy Bauer
0971bd301c
OPENJPA-1787 Fixed VLEM hasUpdateListeners & hasPersistListeners methods and added additional validation test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1082259 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:48:11 +00:00
Michael Dick
d3d944ccd2
OPENJPA-1959: make runtime exception translator transient
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080978 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 19:05:55 +00:00
Jeremy Bauer
6fdcebd673
OPENJPA-1787 Updated "new entity" merge path through AttachManager and BrokerImpl to refrain from firing a pre-persist event before the state of the merged entity is copied to the new entity. Test cases based upon code provided by Oliver Ringel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1080751 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 20:29:50 +00:00
Albert Lee
0c37fc6e57
OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:16 +00:00
Michael Dick
891ccc625c
OPENJPA-1912: Generate externalizable methods correctly for super and subclasses.
...
Submitted By: Mark Struberg
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071123 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 02:12:28 +00:00
Pinaki Poddar
b1b503e136
OPENJPA-1050: Generics for extent
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1069984 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 23:34:15 +00:00
Michael Dick
c415857292
OPENJPA-1593: Add OSGi managed runtime.
...
Submitted By: Wolfgang Glas
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068588 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 21:28:30 +00:00
Pinaki Poddar
5d5ac618b9
OPENJPA-1050: use generics for FetchGroup
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1061582 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 00:07:20 +00:00
Richard G. Curtis
04b1abb039
OPENJPA-1856: Make DataCache eviction due to bulk updates configurable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057315 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 19:03:21 +00:00
Richard G. Curtis
06c3ec6458
OPENJPA-1918: Append PUInfo classloader to MDR.preload() classloader chain.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1056126 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 00:02:05 +00:00
Fay Wang
c39cd993fa
OPENJPA-1911: fix merge problem for entities with derived id
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1054717 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 19:32:03 +00:00
Richard G. Curtis
caeb66ab25
OPENJPA-1896: Allow merging a StateManagerless Entity with a default primitive version.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1052025 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 18:41:09 +00:00
Richard G. Curtis
a927273cf9
OPENJPA-1900: Fix ClassCastException when serializing a proxy for an Entity that exists in an active persistence context. Patch contributed by Mark Struberg.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1050169 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 21:29:51 +00:00
Albert Lee
20c1d07a38
OPENJPA-1904 Propagate refresh operation for eagerly fetched relationship fields.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1044006 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:33:11 +00:00
Fay Wang
09dab24fcd
OPENJPA-1810: fix performance regression for non-criteria query cache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1043572 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 18:20:21 +00:00
Jeremy Bauer
b56fcf3287
OPENJPA-1884 Updated entity manager impl to process cache store mode property provided on refresh method and updated data cache manager to refresh the L2 properly when a store mode is provided.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1042698 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 16:09:08 +00:00
Michael Dick
2cc69063aa
[maven-release-plugin] prepare release 2.1.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040584 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:30:48 +00:00
Michael Dick
406710b477
OPENJPA-1888: Add generics to ManagedCache and AbstractStoreManager.
...
Submitted By: Guy Korland
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037844 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 19:18:16 +00:00
Michael Dick
f0ddf938df
OPENJPA-1885: rename new method to persistInternal and some code formatting changes
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037827 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 18:41:03 +00:00
Michael Dick
2009b5c016
OPENJPA-1885: refactor persistAll in BrokerImpl.
...
Submitted By: Guy Korland
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037237 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 15:18:01 +00:00
Richard G. Curtis
73cd301520
OPENJPA-1892: Fix NPE in DataCacheStoreManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036988 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 19:48:49 +00:00
Fay Wang
dcaa2177c6
OPENJPA-1890: fix NPE when an embeddable is set to a managed entity more than once
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1036244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 21:55:21 +00:00
Pinaki Poddar
ea5db0fbb3
OPENJPA-1889: Relax binding query parameter type checks for enums
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035884 13f79535-47bb-0310-9956-ffa450edef68
2010-11-17 00:38:17 +00:00
Richard G. Curtis
98ebca2fe7
OPENJPA-1886: Remove query parameters when tracing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1035834 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 22:12:18 +00:00
Richard G. Curtis
ef9a49e883
OPENJPA-1844: Update javadoc for DataCacheInstrument.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033705 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 20:56:30 +00:00
Richard G. Curtis
c960f725cb
OPENJPA-1882: Fix DataCacheStoreManager NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033637 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 18:34:35 +00:00
Kevin W. Sutter
5040a436e7
OPENJPA-1881. Creating a new "completion" trace message for the enhancement processing.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1033480 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 14:13:10 +00:00
Fay Wang
ad98d444e1
OPENJPA-1810: make QueryKey distinguishable for CriteriaQuery
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031244 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 21:03:23 +00:00
Richard G. Curtis
531381429d
OPENJPA-1872: Optimize CacheMap get(..) for non-pinned usage.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031110 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:58:09 +00:00
Richard G. Curtis
2f6baf7119
OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Richard G. Curtis
66ce36c0ad
OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for openjpa-kernel.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030139 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 17:33:41 +00:00
Richard G. Curtis
d99b9ba034
OPENJPA-1867: Fix ClassCastException when loading from DataCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030056 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 14:19:30 +00:00
Richard G. Curtis
65b7d76999
OPENJPA-1844: Remove more jconsole changes from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028774 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:40:47 +00:00
Donald Woods
900304d3c3
OPENJPA-1861 build updates to support using Maven 3.0
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:00:35 +00:00
Pinaki Poddar
81e1f23a13
OPENJPA-1851: change to more appropriate variable name
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:43:35 +00:00