Commit Graph

573 Commits

Author SHA1 Message Date
Pinaki Poddar 0d3812fcb5 OPENJPA-687: Add read/write/hit statitics to DataCache/StoreCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684132 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 22:39:39 +00:00
Albert Lee 352d799756 OPENJPA-680 - Format changes to standard 80 columns and spacing conventions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@684037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:32:01 +00:00
Srinivasa Segu 4668ea4e77 OPENJPA-680. Consistent with the beforeRefresh call check for new unflushed instances
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683805 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 02:42:36 +00:00
Catalina Wei e97d6d1598 OPENJPA-674 javaagent enhancer (PCEnhancerAgent) ignores persistence units after the first in persistence.xml
committing PCEnhancerAgent.patch provided by Dinkar Rao

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683075 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 01:28:26 +00:00
Michael Dick e41e1dd976 OPENJPA-628. Revert changes from revision 610922 and add testcase.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@682821 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:37:39 +00:00
Pinaki Poddar bea15fff47 OPENJPA-28: GROUP BY clause on nested sub query should not appear on top-level query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681904 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 23:42:01 +00:00
Pinaki Poddar b29b9b6c76 OPENJPA-75: Error message for missing identification variable shows nearest Levensthien choice and all avaialble choices
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681807 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 20:05:18 +00:00
Pinaki Poddar 4af04f30d9 OPENJPA-187: Allow managed, unmanaged, transient entity as binding query parameter.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@681207 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 21:30:26 +00:00
Albert Lee adb9a6e3de Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680894 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 01:09:18 +00:00
Michael Dick 64dbe4c924 [maven-release-plugin] prepare release 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680508 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:20:09 +00:00
Michael Dick 1cf3826ae8 [maven-release-plugin] prepare branch 1.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680506 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:19:52 +00:00
Michael Dick 191f26d72d OPENJPA-669 DBDictionary can specify the type of native sequences.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@680501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 21:12:17 +00:00
A. Abram White 37d610ca2c Fix a bug in which joined classes using an application identity hierarchy
couldn't be loaded correctly as an inverse relation.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@679152 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:20:25 +00:00
Pinaki Poddar 4c0bf1be10 OPENJPA-207: Support multi-level derived identity. Enhancer has been modified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@678518 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:55:17 +00:00
Michael Dick 948c38e332 OPENJPA-633 setting consistent eol-style for pom.xml files in trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677472 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 00:09:55 +00:00
Pinaki Poddar efdbbd7a92 OPENJPA:365: Raise informative exception when user supplied id argument is wrong type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677147 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 03:59:33 +00:00
Pinaki Poddar 434319cfee OPENJPA-659: Dirty checking fails for runtime enhanced classes. The original case reported the failure in a Spring-Tomcat-Weaver with Embdded field. But as TestSimpleUnenhancedQuery can raise the same failure in a simpler settings. The fix is related to initializing a SaveFieldManager conditional to having loaded fields at invocation of saveFields(). The fix removes the condition and ensures that a SaveFieldManager is assocaited even when saveFields() is invoked without any field loaded.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676727 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 20:46:18 +00:00
Pinaki Poddar 94814adc39 Revert changes to exclude non-transactional states from dirty checking
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676642 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 16:54:05 +00:00
Pinaki Poddar 854eda8a19 Skip dirty check for nontransactional, runtime-enhanced instances
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@676604 13f79535-47bb-0310-9956-ffa450edef68
2008-07-14 14:33:59 +00:00
Pinaki Poddar cc85528f69 OPENJPA-656 : raise informational error on initial connection failure
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@675952 13f79535-47bb-0310-9956-ffa450edef68
2008-07-11 13:48:50 +00:00
Albert Lee c7a9063146 OPENJPA-653 - Commit for Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@674609 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 19:41:32 +00:00
Pinaki Poddar 13e4897173 OPENJPA-647: Change cardinality of listeners for Value update so that ClassMetaData (and others) can sync with dynamic configuration changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673484 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 20:26:48 +00:00
Pinaki Poddar 1ad09239b3 OPENJPA-647: ClassMetaData listens to value updates of dynamic property
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673476 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 19:50:37 +00:00
Michael Dick bae08e93e4 Fix line length
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@673188 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 19:39:01 +00:00
Kevin W. Sutter 82e61ba0d5 OPENJPA-637. Reverting ConcurrentHashMap implementation per the patch provided by Jeremy Bauer. A more complete, configurable implementation is being tracked via the related sub-task OPENJPA-643.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672003 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 19:31:20 +00:00
Michael Dick fb78813259 OPENJPA-545 committing patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671319 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 19:48:23 +00:00
Pinaki Poddar 37cb4af35d OPENJPA-581: Print WARN level message on JNDI lookup failure
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669356 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 01:41:32 +00:00
Pinaki Poddar f62ea1ab0d OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00
Pinaki Poddar e00c6e8f80 OPENJPA-625: remove Embedded collection members throws exception in PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar 71519b0808 OPENJPA-610: Restored refresh() behavior for clean/new instances.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +00:00
Patrick Linskey 90332224f7 Merge from ../branches/1.1.x. svn merge -c 657162 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666921 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:00:06 +00:00
Patrick Linskey 06ab9692d5 Merge from ../branches/1.1.x. svn merge -c 657148 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666920 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:44 +00:00
Patrick Linskey 12c0a094ee Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey 5ee728e332 OPENJPA-600. Merge from ../branches/1.1.x. svn merge -c 656006 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666918 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:58:16 +00:00
Patrick Linskey 753be68e24 OPENJPA-231. Merging r655354 and r655592 from 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:52:31 +00:00
Patrick Linskey f183c42b90 Merge from ../branches/1.1.x/. svn merge -c 653088 ../branches/1.1.x/
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666909 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:50:05 +00:00
Patrick Linskey 1ac94263ac Merge from ../branches/1.1.x/. svn merge -c 653083 ../branches/1.1.x/
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666907 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:49:12 +00:00
Patrick Linskey e8702b1ed3 Merge from ../active. svn merge -c 653000 ../active
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666900 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:40:27 +00:00
Patrick Linskey 547438ed18 OPENJPA-579, OPENJPA-585, OPENJPA-587, OPENJPA-588. Merge from ../active. svn merge -c 652987 ../active
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666898 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:29:11 +00:00
Patrick Linskey 96dd926f4a OPENJPA-522. Backporting r652026 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666894 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:54 +00:00
Patrick Linskey 8fb7ca2b5b Backported r651121 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666891 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:21:46 +00:00
Patrick Linskey 4d668a44dd Backported r650989 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666890 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:20:27 +00:00
Patrick Linskey b589da8070 OPENJPA-245. Backported r646082 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666888 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:14:24 +00:00
Michael Dick 981c023e0e OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Pinaki Poddar f1ac625b2c OPENJPA-209: Detect identical instances being added to L1 cache multiple times during a load session.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 03:33:35 +00:00
Pinaki Poddar 1fda19f8b7 OPENJPA-610: Correcting the @since version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 19:06:01 +00:00
Pinaki Poddar 794305c2f1 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661800 13f79535-47bb-0310-9956-ffa450edef68 2008-05-30 18:10:50 +00:00
Catalina Wei dbbd1236f2 OPENJPA-612 Add support for calculating update value in QueryImpl.updateInMemory
Help comitting patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660825 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:08:41 +00:00
Pinaki Poddar 45693d4e7a OPENJPA-610: refresh() hits database irrespective of clean/dirty state or current lock mode or active/inactive DataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660753 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 22:45:01 +00:00
Catalina Wei dcada13237 OPENJPA-574 Cached object in DataCache not evicted due to StatementBatching not reporting OptimisticException
Handle  (-2) updateCount returned from Batching for Oracle.
Got a ClassCasstException while testing multiple entries in DataCache needed to be removed due to OptimisticException.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 08:05:00 +00:00