1147 Commits

Author SHA1 Message Date
Jody Grassel
9ebe6c7ca5 OPENJPA-2227: OpenJPA doesn't find custom SequenceGenerators
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1366514 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:41:57 +00:00
Albert Lee
c067c64403 OPENJPA-2199 - Guard null pc value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1361284 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 16:22:14 +00:00
Heath Thomann
48951d15fe OPENJPA-2139: Reverting previous changes to 2.1.x as we've found further considerartion/design is needed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1350035 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:58:26 +00:00
Heath Thomann
0148ee0d79 OPENJPA-2107: Applied to 2.1.x Rick's changes from trunk (2.2.x)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342138 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 04:34:15 +00:00
Heath Thomann
b3f3418052 OPENJPA-2139: Apply my lastest patch, which includes contributions added by Rick and Mark.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342074 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 22:21:40 +00:00
Jody Grassel
0176a4005c OPENJPA-2042: Diagnostics for Application Managed EntityManagerFactory leaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1338919 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 22:19:35 +00:00
Jody Grassel
61238ede48 OPENJPA-2146: StateManager for Embeddable may throw Exception while initializing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1333100 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 16:26:55 +00:00
Heath Thomann
7642e7e249 OPENJPA-2133: Fix to allow custom mappings to be found by an applicable class loader.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:44:20 +00:00
Dianne E. Richards
e44873972a OPENJPA-2142 Fix copy problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332025 13f79535-47bb-0310-9956-ffa450edef68
2012-04-29 23:40:10 +00:00
Dianne E. Richards
f725640046 OPENJPA-2142 Fix merge of a new entity
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1330360 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 15:45:18 +00:00
Jody Grassel
52f9ae6718 OPENJPA-1901: QueryCacheStoreQuery CachedObjectId is not Serializable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1240341 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 21:13:27 +00:00
Jody Grassel
4f6277057e OPENJPA-1993: Deadlock Potential with ORM XML Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 20:30:35 +00:00
Jody Grassel
c410de6b83 OPENJPA-1993: Deadlock Potential with ORM XML Processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227779 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 19:28:04 +00:00
Heath Thomann
36166e0d04 OPENJPA-2102: Added code to compare decoded URLs in AbstractCFMetaDataFactory.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1227170 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 14:41:20 +00:00
Richard G. Curtis
fe5cb1e0d6 OPENJPA-1986: Merge Compatibility javadoc from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1202817 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 18:06:59 +00:00
Heath Thomann
8400488b08 OPENJPA-2051: Change to ensure entities are properly cascaded after a flush.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1186889 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 16:29:48 +00:00
Heath Thomann
210b2e3e8f OPENJPA-2006: If flushing, also pre-flush non-provisional entities to allow sequence ID population - applied Jeremy's 1.2.x patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 02:27:50 +00:00
Heath Thomann
d7f9bcbe92 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/branches/2.1.x@1155109 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 21:21:30 +00:00
Michael Dick
dddb5a0f67 OPENJPA-2011: Optionally prevent reparsing annotations in in query mode.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1151637 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 21:32:34 +00:00
Michael Dick
7db9f3dc7e OPENJPA-2010: Check line number and source file before logging duplicate metadata warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1151591 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 19:06:24 +00:00
Richard G. Curtis
a4cfa21136 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1148539 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:19:32 +00:00
Richard G. Curtis
acd6c54ac2 [maven-release-plugin] prepare release 2.1.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1148537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:18:31 +00:00
Richard G. Curtis
5233ca9743 OPENJPA-1986: Remove newly added serialVersionUID and change compatibility flag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1141200 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 19:11:30 +00:00
Michael Dick
95722e35c8 OPENJPA-2010: Temporarily reverting to unroll other changes."
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1141143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:05:43 +00:00
Heath Thomann
bebc03a951 OPENJPA-2010: Check line number and source file before logging duplicate meta data warning - merged Mike's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140332 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 21:38:41 +00:00
Richard G. Curtis
b89f6cd462 OPENJPA-2020: Open up some of StateManagerImpl to all for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140198 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:06:24 +00:00
Richard G. Curtis
c0077e759f OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140191 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:59:59 +00:00
Richard G. Curtis
ade8ff1fb0 OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140182 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:44:38 +00:00
Heath Thomann
e083055ee3 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/branches/2.1.x@1134064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 20:28:07 +00:00
Richard G. Curtis
15dd5febf0 OPENJPA-1944: Properly handle a null version field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1084351 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 21:08:39 +00:00
Jeremy Bauer
a0b5c4ee5a 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/branches/2.1.x@1081843 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 16:30:50 +00:00
Michael Dick
28aa310b67 OPENJPA-1959: make runtime exception translator transient
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1080981 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 19:10:41 +00:00
Albert Lee
961364ee71 OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1072062 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:25 +00:00
Michael Dick
36d18ef01e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071317 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:24:34 +00:00
Michael Dick
f6f2a3ca00 [maven-release-plugin] prepare release 2.1.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071315 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:24:18 +00:00
Michael Dick
f946376e69 [maven-release-plugin] rollback the release of 2.1.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1067012 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 22:40:05 +00:00
Michael Dick
03fd5aeed2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1066188 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 20:13:13 +00:00
Michael Dick
f33b1088ca [maven-release-plugin] prepare release 2.1.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1066186 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 20:12:56 +00:00
Richard G. Curtis
f12970baf2 OPENJPA-1856: Make DataCache eviction due to bulk updates configurable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1057319 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 19:11:32 +00:00
Richard G. Curtis
92aba0ead7 OPENJPA-1918: Append PUInfo classloader to MDR.preload() classloader chain.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1056130 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 00:07:20 +00:00
Richard G. Curtis
976c19e8d0 OPENJPA-1896: Merging changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1055128 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 18:19:38 +00:00
Richard G. Curtis
ce89c193f7 OPENJPA-1911: fix merge problem for entities with derived id
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1055122 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 18:01:05 +00:00
Richard G. Curtis
b56afb256c OPENJPA-1900: Merge changes from trunk. Changes contributed by Mark Struberg.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1050361 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 12:19:46 +00:00
Albert Lee
8cf5f35488 OPENJPA-1904 Propagate refresh operation for eagerly fetched relationship fields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1044005 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:33:06 +00:00
Richard G. Curtis
0a087b2679 OPENJPA-1810: Merge performance changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1044002 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:25:44 +00:00
Jeremy Bauer
d49c52b99f 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/branches/2.1.x@1043828 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 03:08:23 +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