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
Richard G. Curtis
8ceee2b1a4
OPENJPA-1844: Remove JConsole plugin from trunk and refactor some of DataCacheMBean.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028457 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:13:19 +00:00
Donald Woods
837d8ccd48
OPENJPA-1320 Incorrect hashcode()/equals() implementation(s) for BrokerImpl. Patch contributed by Heath Thomann.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:11:11 +00:00
Pinaki Poddar
54234f6102
OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:18:09 +00:00
Richard G. Curtis
61f21099b6
OPENJPA-1858: Cache a reference to MetaDataRepository in BrokerImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028114 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 21:53:05 +00:00
Richard G. Curtis
7c377a9043
OPENJPA-1856: Executing bulk updates should evict from DataCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027983 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:47:44 +00:00
Donald Woods
f3b0fd45e4
OPENJPA-1844 Update build to find jconsole.jar on MacOSX
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027257 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 20:23:54 +00:00
Richard G. Curtis
2ab51d77a6
OPENJPA-1844: Fix line length in DataCacheTable.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027195 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 17:00:31 +00:00
Richard G. Curtis
ae1e715248
OPENJPA-1844: Localize user facing strings.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027190 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 16:46:03 +00:00
Michael Dick
93e28fc3ac
OPENJPA-1844: setting eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026052 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 16:13:55 +00:00
Richard G. Curtis
daac0ac086
OPENJPA-1844: Add DataCache JConsole plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 16:01:51 +00:00
Richard G. Curtis
b62b8fc920
OPENJPA-1644: Don't clear values from a deleted instnace.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1021400 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 16:04:58 +00:00
Richard G. Curtis
426dce3867
OPENJPA-1801: Remove debug.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1005016 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 13:15:39 +00:00
Richard G. Curtis
54bef663e7
OPENJPA-1801: Refactor cache statistics.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1004818 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 21:12:52 +00:00
Catalina Wei
cde2a4aaf2
OPENJPA-1814: JPQL fails with Group By and Having aggregate_expression IN (subquery)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1002419 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:36:54 +00:00
Michael Dick
06537153ca
Remove compiler warnings in AbstractStoreManager
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000572 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 18:42:33 +00:00
Michael Dick
474c1b60c9
OPENJPA-1790: Added ProxyConcurrentMaps class (minor formatting changes from Jody's patch)
...
Submitted By: Jody Grassel
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000292 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 02:20:07 +00:00
Donald Woods
cccd4c799d
OPENJPA-1811 Dynamic load of enhancer agent on Mac OS X fails
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1000209 13f79535-47bb-0310-9956-ffa450edef68
2010-09-22 20:41:15 +00:00
Donald Woods
b76ab3884e
OPENJPA-1804 change subclassing w/o redefinition from a info to warn level logging
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@999425 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 14:09:17 +00:00
Richard G. Curtis
679fee98d6
Fix capitalization localizer.properties file.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@997354 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 14:42:44 +00:00
Fay Wang
35205c46ac
OPENJPA-1784: clean up fix
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995596 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 22:35:19 +00:00
Fay Wang
9c25bd1633
OPENJPA-1784: improve dirty-checking for persistent maps when the get method is called to retrieve an embeddable value.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@995333 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:47:46 +00:00
Catalina Wei
f5dbf21ca5
OPENJPA-1782: Accept double quoted string literal in JPQL
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@993601 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 04:54:47 +00:00
Catalina Wei
93c0bbea8f
OPENJPA-1736: Mappings with foreign keys as identity fields sometimes not resolved correctly
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987772 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 15:46:34 +00:00
Richard G. Curtis
3b20d750e7
OPENJPA-1770: Fix fetching an Entity with a null embeddable from the DataCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987321 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 21:38:25 +00:00
Donald Woods
560afb7df4
OPENJPA-1712 Merge in build updates from 2.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@987238 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 17:31:55 +00:00
Richard G. Curtis
63a24dc7bb
OPENJPA-1769: Fix Broker.getObjectId(..) to work on detached Entities with no DetachedStateManager.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986963 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:52:59 +00:00
Richard G. Curtis
bf9a1edd69
OPENJPA-1763: Refactoring original change.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986841 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 18:30:18 +00:00
Jeremy Bauer
a36ace562b
OPENJPA-1739 Added additional metrics to cache statistics and updated instrumentation.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984896 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 18:18:43 +00:00
Jeremy Bauer
25ccc95d6c
OPENJPA-1739 Added basic stats tracking to query result cache. Updates to JMX provider. Added tests to jmx module for query cache and prepared SQL cache instruments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984633 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 02:40:23 +00:00
Richard G. Curtis
0876c93ff6
OPENJPA-1763: Auto configure RemoteCommitProvider if it isn't set when the DataCache is enabled.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@984601 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 22:00:25 +00:00
Donald Woods
bcfadcff1b
OPENJPA-1712 Fix creation of test artifacts, so they get signed during -Papache-release deploys to nexus repo
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@983040 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 16:22:21 +00:00
Jeremy Bauer
eef3693be8
OPENJPA-1739 Remove unnecessary dynamic mbean methods
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982860 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 03:39:07 +00:00
Jeremy Bauer
1f58c01ea4
OPENJPA-1739 Fixes to JMXProvider and cache MBeans
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982848 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 02:10:14 +00:00
Jeremy Bauer
536e3a284b
OPENJPA-1739 Fixed minor bug and added more test variations.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 17:33:13 +00:00
Pinaki Poddar
46026f012c
OPENJPA-1567: Allow reference to sibling managed instances
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@982048 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 22:09:22 +00:00
Jeremy Bauer
733adeb47b
OPENJPA-1739 Rev 1 of pluggable instrumentation for OpenJPA. Includes an test provider and portions of a JMX platform MBean based provider.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981719 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 01:55:02 +00:00
Richard G. Curtis
e65737308b
OPENJPA-1757: Check CacheRetrieveMode in DataCacheStoreManager when synchronizing version.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981664 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 19:31:45 +00:00
Richard G. Curtis
bb7c9b2fd8
OPENJPA-1727: Update QueryCacheStoreQuery.checkCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981549 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 15:14:23 +00:00
Patrick Linskey
7d5c4f4dce
fix docs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981327 13f79535-47bb-0310-9956-ffa450edef68
2010-08-01 21:54:39 +00:00
Richard G. Curtis
4dcca87500
OPENJPA-1727: Fix QueryCache eviction when returning an empty result and using the TIMESTAMP eviction policy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980963 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 21:02:04 +00:00
Richard G. Curtis
07709672f7
Refactor MetaDataRepository to use for each loop.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@980916 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 18:42:38 +00:00
Michael Dick
2f880eaacb
OPENJPA-1690: Add serialUID
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@979419 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 19:50:46 +00:00
Fay Wang
44a7674d6e
OPENJPA-1740: fix Type expression when entities use Joined table strategy.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@967240 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 20:15:06 +00:00
Michael Dick
ebd30a7cc7
OPENJPA-1742: move cfName logic to JDBCConfiguration, add tests for nonJTADataSource
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@966600 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:57:45 +00:00
Richard G. Curtis
c3a7417e24
OPENJPA-1734: Refactor JavaVendors into an Enum and fix exception reported in JIRA.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965864 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 14:40:23 +00:00
Richard G. Curtis
9225c60a74
OPENJPA-1734: Add support for the DynamicEnhancer on IBM jvm.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@965633 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 21:02:36 +00:00
Fay Wang
90373cb93f
OPENJPA-1726: fix the locate and substring for Postgres as it only accepts integer as the start index.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964967 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 22:39:06 +00:00
Richard G. Curtis
84812bb211
OPENJPA-1378: Refactor cache init code.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964617 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 21:40:02 +00:00
Dianne E. Richards
c45cba1f29
OPENJPA-1554 Add license header to BooleanId
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964484 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:39:00 +00:00
Dianne E. Richards
720b8f7e71
OPENJPA-1554 Support boolean as an id (required by spec)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964480 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:26:27 +00:00
Richard G. Curtis
d899ba8107
OPENJPA-1626: Add Name property to AbstractQueryCache, contributed by Amy Yang.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964170 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 20:15:41 +00:00
Richard G. Curtis
124d3ca7b5
OPENJPA-1378: Expose Lru cache on DataCache and QueryCache.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@964097 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 17:01:51 +00:00
Dianne E. Richards
512122c4ba
OPENJPA-1722 Add writeReplace() method to DistinctResultList to avoid serialization exception when EntityManager is closed.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963764 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 15:42:31 +00:00
Richard G. Curtis
d5e876372d
OPENJPA-1676: Handle null class name in PCClassFileTransformer.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963752 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 15:10:41 +00:00
Michael Dick
f03b417d41
OPENJPA-1702: Allow new entities to be dirtied in BeforeCommit callback even if there are no other dirty entities. Based on patch submitted by Heath Thomann
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@963499 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:39:55 +00:00
Richard G. Curtis
2fa5556c0d
OPENJPA-1707: Fix NPE coming from PCRegistry.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961774 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 14:06:08 +00:00
Richard G. Curtis
17246f5ff2
OPENJPA-1692: Backing a previous change while investigating a test failures.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@961008 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 20:24:58 +00:00
Michael Dick
5668a18ec0
OPENJPA-1501: trim trailing whitespace for entities with String IDs
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960983 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 19:06:14 +00:00
Richard G. Curtis
2400bacd05
OPENJPA-1707: Log a warning message when a down level Entity is encountered.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@960981 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 18:53:59 +00:00
Richard G. Curtis
a7c61414ca
OPENJPA-1704: Fix PCEnhancer to generate proper readExternal method.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956875 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 13:08:35 +00:00
Donald Woods
8a2b1c1f08
OPENJPA-1700 FindBugs - Method invokes inefficient Number constructor; use static valueOf instead
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955046 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:53:38 +00:00
Donald Woods
5e2f6c2288
OPENJPA-1700 FindBugs - Method concatenates strings using + in a loop - use StringBuffer instead.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@955031 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:07:41 +00:00
Ravi Prakash Palacherla
efa71484df
OPENJPA-1695 OutOfMemoryError from CacheMarshallerImpl.setInputUrlFromResourceLocation
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954979 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 17:47:02 +00:00
Richard G. Curtis
703bd8db8a
OPENJPA-1692: Revert some of previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954898 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:10:46 +00:00
Richard G. Curtis
14cfcaa3cc
OPENJPA-1692: Clean up extra initialization from PersistenceProviderImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954891 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:04:26 +00:00
Pinaki Poddar
3865aedfaa
OPENJPA-1686: Upgrade to Java runtime version 5. Remove reflection.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@954678 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 00:09:17 +00:00
Richard G. Curtis
3905b52a90
OPENJPA-1692: Update method signature for BrokerFactory.getInstance(...) to take a classloader.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953830 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 18:51:47 +00:00
Richard G. Curtis
ea8dc8b630
OPENJPA-1692: Add post creation callback to BrokerFactory
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953760 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 16:37:30 +00:00
Pinaki Poddar
939f644e77
OPENJPA-1690: Make DistinctResultList serializable
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953165 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 21:21:02 +00:00
Pinaki Poddar
a873065db7
OPENJPA-1686: A first draft of support for generic graph. Correct mapping strategy on MappedSuperClass (they are not Embeddables)
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@952893 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 02:43:46 +00:00
Pinaki Poddar
f03598fe59
OPENJPA-1683: Adding toString() on LongId to align with other built-in id toString(). May need to rollback if regresses existing systems
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951750 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 18:49:24 +00:00
Donald Woods
f0517dd09c
add missing ASL 2.0 header
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@951487 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:47:10 +00:00
Richard G. Curtis
1c01e8da2a
OPENJPA-1670: PCRegistry should not save duplicate listeners.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946332 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 18:39:56 +00:00
Richard G. Curtis
5903f31e69
OPENJPA-1665: Update BrokerImpl to skip check for duplicate ids when they are auto generated.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943638 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 19:11:14 +00:00
Pinaki Poddar
85ba2eada3
OPENJPA-1662: Remove usage of @Replicated annotation. Replace with openjpa.slice.ReplicatedTypes plug-in.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@943294 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:09:17 +00:00
Richard G. Curtis
ee299cc0bd
OPENJPA-1646: Move DataCacheManager initialization to EMF creation time to close timing window.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940490 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 15:55:16 +00:00
Richard G. Curtis
78614963a0
OPENJPA-1634: Process JAXB metadata when preloading the MetaDataRepository.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@940093 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 19:00:23 +00:00
Pinaki Poddar
53e63d202f
OPENJPA-703: Disable query statistics by default.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935073 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 20:35:42 +00:00
Pinaki Poddar
fb1808b2a3
OPENJPA-703: Remove sync on stats
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935035 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:32:32 +00:00
Pinaki Poddar
191c7fd329
OPENJPA-703: Collect query statistics for a fixed number of queries, in a thread-safe manner.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@935033 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 18:29:33 +00:00
Richard G. Curtis
1ddfdcef96
OPENJPA-1630: Synchronize when modifying MetaDataRepository._registered regardless of MetaDataRepository.Preload setting.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@934103 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:39:54 +00:00
Donald Woods
dab906385e
OPENJPA-1569 remove commented code
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932766 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 17:21:48 +00:00
Fay Wang
689f42f7aa
OPENJPA-1625: making the creation of StateManagerImpl consistent by calling newStateManagerImpl consistently.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932743 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 15:18:42 +00:00
Donald Woods
33e8df53bd
OPENJPA-1569 @Strategy triggers an InvalidStateException for fields which are declared as Java interfaces. Contributed by Jerry Carter.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@932720 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 13:51:51 +00:00
Richard G. Curtis
59cdb21326
OPENJPA-1604: Backing out the two previous commits while investigating a couple test failures.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@930957 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 20:48:54 +00:00
Pinaki Poddar
6f6e94df76
OPENJPA-1604: Add lock mode to QueryMetaData
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929971 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 13:44:38 +00:00
Pinaki Poddar
709bf862ab
data initializilation from data cache - use input fetch, not the conetxt configuration; reduce checks
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 23:13:45 +00:00
Donald Woods
0df0c0142f
OPENJPA-1597 merge in code comment updates from 2.0.x branch
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929550 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 14:33:02 +00:00
Michael Dick
8579593f88
OPENJPA-1603:
...
Decouple the QueryCache from the DataCache. Code contributed by Mike Dick and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:42:29 +00:00
Donald Woods
371a31a41a
OPENJPA-1597 cleanup code comments. merged in from 2.0.x.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928853 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 18:09:58 +00:00
Donald Woods
3df86b0e95
OPENJPA-1597 Revert code added to DetachManager to unproxy objects when detached in-place. Updated tests to verify old behavior of detached entites still having references, but that they are removed during serialization.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928251 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 19:33:52 +00:00
Donald Woods
c0ad7b61a7
OPENJPA-1597 Add openjpa.Compatibility option IgnoreDetachedStateFieldForProxySerialization which 2.0 apps can set to true to fall back to 1.0 behavior and defaults 1.0 apps to old behavior of not removing classes after EM.clear() is called.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@928128 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:12:07 +00:00
Michael Dick
666ec6c6de
OPENJPA-1550:
...
Set failedObject on RollbackException.
Submitted By: Heath Thomann
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@927267 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:55:43 +00:00
Donald Woods
b5b65a7d4b
[maven-release-plugin] prepare release 2.0.x
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@926437 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 02:27:40 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
dbe6745966
OPENJPA-1524 Update JNDI lookup to find TransactionManager when running in Apache Aries. Still need to implement a better solution for non-Aries based OSGi environments.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920553 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:48:24 +00:00
Michael Dick
c58af533fb
OPENJPA-1178:
...
Remove uneeded imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920540 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:07:27 +00:00
Michael Dick
62092d763a
OPENJPA-1118:
...
Remove Numbers.valueOf() - prefer autoboxing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@920503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:43:37 +00:00