Commit Graph

1258 Commits

Author SHA1 Message Date
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
Donald Woods b9a230567e OPENJPA-1097 Detachment processing of our proxied mutable types (Date, Timestamp, etc) needs to be consistent as EM.clear() was not unproxying JavaTypes.OBJECT fields but detach()/detachAll() were. Thanks to Rick Curtis for the DetachManager changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919696 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 03:26:24 +00:00
Donald Woods bb538f49f9 OPENJPA-1545 Fix checkstyle failure due to line too long (124 chars)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919661 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 22:55:05 +00:00
Richard G. Curtis b0eefe6ea8 OPENJPA-1545: Refectored code. Fixed bug where unloaded fields were being loaded due to detach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919657 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 22:38:59 +00:00
Michael Dick 4dc0267629 OPENJPA-1551:
Storing connectionFactoryName in BrokerImpl - this factory will be used at JDBCStore creation time to override the value from the configuration

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919557 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:35:53 +00:00
Richard G. Curtis a1ad33d72a OPENJPA-1545: Make new instance var transient in BrokerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919491 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 16:54:43 +00:00
Richard G. Curtis 73d4992a2f OPENJPA-1545: Refactored detach code out of BrokerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@919475 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 16:32:37 +00:00
Richard G. Curtis 76d184c106 OPENJPA-1545: Adding new faster way to auto detach the entire persistence context. Committing code changes, test, and doc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918643 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 19:20:57 +00:00
Richard G. Curtis 64be0455c3 OPENJPA-1549: Optimize StateManagerImpl.proxyFields(..).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918245 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 23:09:13 +00:00
Richard G. Curtis a515a71fec OPENJPA-1548: Refactored ClassMetaData and cached hashCode() to improve performance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@918167 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 20:04:42 +00:00
Michael Dick 06e6582ab8 OPENJPA-1500: Remove WriteBehind variable declarations in OpenJPAConfigImpl
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917803 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 23:46:33 +00:00
Donald Woods 42769bd9d8 OPENJPA-1544 Remove WebSphere version number from org/apache/ee/localizer.properties. Patch contributed by Cathy Nordstrom.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@917572 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 16:24:31 +00:00
Donald Woods 4cb276067a OPENJPA-1538 Move hard coded text in OpenJPAVersion.java to localizer.properties. Patch contributed by Cathy Nordstrom.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916757 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:03:25 +00:00
Richard G. Curtis eca02573ba OPENJPA-1542: Adding support for openjpa.DataCache Types and ExcludedTypes configuration back into trunk. Also updating TestCacheExclusions. No doc changes required as the user manual is up to date.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916714 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 15:23:26 +00:00
Richard G. Curtis 767f670490 OPENJPA-1539: Allow DataCacheManagerImpl.isCachable(ClassMetaData meta) to cache the cacheability for each given type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916388 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 18:32:35 +00:00
Donald Woods daae61a6f5 OPENJPA-1535 Inconsistency in exceptions thrown from MetaDataRepository.resolve(). Patch contributed by Hiroki Tateno.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916338 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 16:28:54 +00:00
Richard G. Curtis be33af366c OPENJPA-1531: Adding support for a interval style syntax in the openjpa.DataCache.EvictionSchedule property. Added code changes, test case, and doc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@916052 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 00:11:33 +00:00
Donald Woods 0befad7051 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915979 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:54 +00:00
Donald Woods 099d18901e [maven-release-plugin] prepare release 2.0.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915977 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 21:04:42 +00:00
Catalina Wei 05e0669c07 OPENJPA-1533: JPA2 select math mix with aggregate reports syntax error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915725 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 08:55:07 +00:00
Albert Lee fa4b72d7f5 OPENJPA-1498 - Commit contribution by Cathy Nordstrom.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915439 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 17:10:18 +00:00
Albert Lee 52e2d92544 Re-factor imports and use of generic in BrokerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@912477 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 04:29:45 +00:00
Donald Woods e512e15ba0 OPENJPA-1520 Compile for 1.6 and update javadoc links to use 1.6
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911682 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 02:52:51 +00:00
Pinaki Poddar 2f3da18be0 Throw informative error messages on bad enum field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911530 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 19:11:36 +00:00
Richard G. Curtis 3cd8c4c6f0 OPENJPA-1517: Reduce synchronization in LifecycleEventManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@911213 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 23:00:50 +00:00
Richard G. Curtis d037890f74 OPENJPA-1515: Make CacheStatistics configurable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910667 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 20:00:38 +00:00
Pinaki Poddar d82add658d OPENJPA-1503:Metamodel reflection with security manager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@910617 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 17:46:00 +00:00
Milosz Tylenda e70d8bf5f2 Added GlassFish to javadoc and moved its JNDI location up in the list - see https://jira.jboss.org/jira/browse/JBCACHE-1354
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909792 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 11:09:57 +00:00
Patrick Linskey 23341c871c OPENJPA-1509. In-mem bulk update + enums.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909669 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 00:10:11 +00:00
Patrick Linskey e603bdc5c8 OPENJPA-1507. NPE fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909515 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 17:38:45 +00:00
Pinaki Poddar feff96b4c4 OPENJPA-1334: Emulate 1.2 versions IncludedTypes/ExcludedTypes functionality via new distribution policy mechanics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909091 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 17:37:53 +00:00
Pinaki Poddar fb004027ad OPENJPA-1334: Emulate 1.2 versions IncludedTypes/ExcludedTypes functionality via new distribution policy mechanics
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 16:18:46 +00:00
Donald Woods dc61fa0680 OPENJPA-1334 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908662 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 21:58:53 +00:00
Fay Wang 4a987190d9 OPENJPA-1460: resolve visibility scope of orm.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908621 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:23:59 +00:00
Pinaki Poddar 92f162bd4b OPENJPA-1334: Separate distribution policy from DataCacheManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908325 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:32:41 +00:00
Pinaki Poddar 6fa32719b9 OPENJPA-1334: Separate distribution policy from DataCacheManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908322 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 02:26:31 +00:00
Pinaki Poddar ad3cf2c682 OPENJPA-1503: Use AccessController to load metamodel class.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908225 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 21:13:44 +00:00
Fay Wang 31265de187 OPENJPA-1496: fix temporal parameter processing
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@908150 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:36:10 +00:00
Michael Dick 69c5eb11ff OPENJPA-1498. Minor message file improvements
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@906993 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 16:37:54 +00:00
Michael Dick a720a9c6f6 OPENJPA-1482:
Prevent NoSuchMethodError when calling setVersion.
Submitted By : Rick Curtis

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@905835 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 23:23:57 +00:00
Fay Wang 4197457c85 OPENJPA-1485: isLoaded util method should return true for an entity when an unloaded basic type is not in the fetch plan.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@903914 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 00:04:31 +00:00
Donald Woods 9c90ca5506 merged in r902968 from beta branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902988 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 21:50:14 +00:00
Fay Wang c15f473949 OPENJPA-1460: back out the previous change until the visibility scope of orm.xml is fully agreed upon.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902291 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 22:11:39 +00:00
Michael Dick c246a7a4b1 OPENJPA-1150:
Removing incomplete WriteBehind implementation.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@902113 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 15:20:03 +00:00
Richard G. Curtis 55d7af6e23 OPENJPA-1475: Exclude calling syncVersion() if an Entity doesn't have a version field. Patch submitted by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901901 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 22:39:19 +00:00
Kevin W. Sutter 184cb41619 OPENJPA-1476. Turning off the QueryCache by default. The new default value for this property will be "false". Also, disabling the Write Behind testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 18:48:31 +00:00
Pinaki Poddar b94d23268f OPENJPA-1473: Replace null object with non-null default for aggregate expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@901454 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 00:16:03 +00:00
Donald Woods 00c44aba43 OPENJPA-1460 Undo import of a spec api added in r900873, as openjpa-kernel does not have access to the spec api and should not by design.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900931 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 19:48:39 +00:00
Albert Lee 968634a738 OPENJPA-1470 Java 2 Security permission violation on getClassLoader caused JEE container unable to enhance entities on the fly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900905 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:53:16 +00:00
Pinaki Poddar 3bff964503 OPENJPA-1460: Rename the setter method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900890 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:32:45 +00:00
Pinaki Poddar 1049796100 OPENJPA-1460: Rename the setter method
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900873 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 18:10:30 +00:00
Pinaki Poddar 424da6212a correct property name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900821 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 15:43:01 +00:00
Richard G. Curtis f877a44a63 OPENJPA-1470: Change INFO messages in PCEnhancer to TRACE messages.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900589 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 22:24:44 +00:00
Richard G. Curtis a91f6d553e OPENJPA-1467: Revert ConcurrentDataCache.removeAllInternal(...) to prior revision (5529850).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900521 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 19:29:33 +00:00
Fay Wang 36e31ae445 OPENJPA-1460: resolve visibility scope of orm.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@900245 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 23:41:45 +00:00
Richard G. Curtis 5a8c5de491 OPENJPA-250: Missed a line in the previous merge and remove a test from being excluded in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899732 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 17:49:46 +00:00
Pinaki Poddar ab032d8f73 Add constructor for more flexible signature
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899532 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:26:43 +00:00
Pinaki Poddar 342c27dfd5 Add Glassfish JNDI location
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899531 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:26:11 +00:00
Pinaki Poddar db20d8a011 OPENJPA-900: Reduce reflection cost. Enumerate hint keys.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899530 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:25:25 +00:00
Pinaki Poddar b5a412fd42 OPENJPA-900: Reduce reflection in hint processing. Redesign with explicit hint keys.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@899529 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 05:23:15 +00:00
Fay Wang 2331d20522 OPENJPA-1458: fix named parameter problem
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898936 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 20:49:01 +00:00
Donald Woods 55bf86a4c8 OPENJPA-1456 Replace StringBuffer usage with StringBuilder for minor performance/scalability improvement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898168 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 03:31:11 +00:00
Richard G. Curtis 0efea474f2 OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@898024 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 19:34:23 +00:00
Pinaki Poddar 5cef9cff17 reduce performance cost of isCacheable().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@897308 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 19:40:10 +00:00
Catalina Wei a0e001e40a OPENJPA-1442 JPA2 java.sql.Date, java.math.BigDecimal, or java.math.BigInteger types as derived primary keys are not Enhanced correctly
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893642 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 22:33:57 +00:00
Pinaki Poddar fded22b2e0 OPENJPA-1445: Support enums as External values
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893503 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 13:06:03 +00:00
Pinaki Poddar df5a403700 OPENJPA-1444: distinct query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893448 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:35:07 +00:00
Pinaki Poddar 29e919f2cc OPENJPA-1444: distinct query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893447 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 09:33:28 +00:00
Pinaki Poddar 3dee418d36 OPENJPA-1444: Use special result list for distinct query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893420 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 07:57:31 +00:00
Richard G. Curtis 35377aace9 OPENJPA-1441: Set pcVersionInit FieldMetaData to transient in PCEnhancer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@893181 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 14:27:19 +00:00
Fay Wang 5d9f08e728 OPENJPA-1432: preserve Compatibility flags set in compliance with the Specification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@892397 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 23:24:23 +00:00
Michael Dick 40f017a2e9 OPENJPA-714:
Check l1 cache when looking for managed instances when cascading.
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@891120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:17:43 +00:00
Pinaki Poddar f5c216eb19 OPENJPA-1050: Restore existing method signature but deprecate them.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890859 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:16:48 +00:00
Pinaki Poddar fd5c79aabc OPENJPA-1050: Restore existing method signature but deprecate them.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@890857 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:15:21 +00:00
Donald Woods 60cae2ff51 OPENJPA-1103 Upgrade to 1.0-SNAPSHOT versions of the jpa2 and bv spec apis and remove the early access disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889818 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 21:19:55 +00:00
Pinaki Poddar b119e2b959 OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889801 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:33:32 +00:00
Pinaki Poddar 4715cc737b OPENJPA-1050: Use generic types whenever possible. Replace ordered map with native implementation wrapper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889800 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:32:16 +00:00
Pinaki Poddar 43c55d0539 OPENJPA-1424: Fix. Do not lookup extraFieldData with another mapping's field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889799 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 20:28:57 +00:00
Pinaki Poddar 77c3242465 OPENJPA-1334: Assign default named cache to PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889449 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 22:43:45 +00:00
Donald Woods 45bc22baa3 OPENJPA-1348 Embeddable data not persisted when using WriteBehind cache flush operation. Patch from Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888497 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:54:12 +00:00
Richard G. Curtis c1e0b6bd1c OPENJPA-1414: Performance improvements for detach processing. Patch contributed by Dianne Richards.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888481 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:53:56 +00:00
Pinaki Poddar 70518a3685 Print class loader when metadata processing fails
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888476 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:38:20 +00:00
Pinaki Poddar 89fe979f49 Relax metadata parsing flow
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888475 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:37:19 +00:00
Pinaki Poddar 6896c31d60 Use generic type argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888473 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:36:19 +00:00
Richard G. Curtis d17c70965d OPENJPA-1415: Suppress batched OLE messages.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@888453 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 16:03:56 +00:00
Pinaki Poddar 7cebf2ed25 Use generic type for Result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@886290 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:44:08 +00:00
Pinaki Poddar 1aaa1aa086 OPENJPA-1409: Preserve type for currentDate/Time expressions
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885989 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 22:51:01 +00:00
Pinaki Poddar bc7da97658 Print class loader when metadata processing fails.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885955 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 21:46:29 +00:00
Richard G. Curtis 2c00f18f0c OPENJPA-1400: Fix PersistenceCapable.pcIsDetached() when using no statemanager and version is zero.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885872 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:13:01 +00:00
Donald Woods 05226837fd add missing or incorrect license headers found by rat plugin
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@885573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:08:15 +00:00
Albert Lee cbbe382ecd OPENJPA-1402 - Improve concurrency by not locking relation field whenever appropriate for mixed lock manager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@884744 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 05:11:21 +00:00
Pinaki Poddar 9438918465 Cut down processing cost for identical type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@883895 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:05:26 +00:00
Fay Wang c3a856faa0 OPENJPA-1396: fix metadata-complete problem so that it will override @Transient annotation in the entity class
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@882172 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 15:12:36 +00:00
Catalina Wei ee30b010dc OPENJPA-1388 JPQL named parameter using a reserved word (:vlaue) resulting in ArgumentException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@881598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 22:59:01 +00:00
Pinaki Poddar befbc83945 OPENJPA-117: provide registered TransactionListeners as unmodifiable collection
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835280 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 07:35:26 +00:00
Fay Wang 983b34b68e OPENJPA-1380: queryCache is not refreshed for cross-join jpql.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@835054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 20:40:18 +00:00
Richard G. Curtis 19eb9f2615 OPENJPA-1379: Fixed locking problem in AbstractQueryCache when using timestamp eviction policy and added new test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@834252 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 22:02:15 +00:00
Pinaki Poddar faf2966816 OPENJPA-1334: Refresh should ignore cache.retrieve.mode settings. Assorted changes in property processing for usability
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@832874 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 21:18:38 +00:00
Fay Wang eabd0c9454 OPENJPA-1371: fail to extract correct id from an entity during merge when this entity has compound primary key using IdClass, and some field in the IdClass is a derived identity from a not-yet-managed toOne relation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831626 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01 00:50:15 +00:00
Albert Lee 8c8636fce9 OPENJPA-1306 - Add basic extended lock scope support, 3 junit testing basic, secondary table, join table, inheritance entity, element collections (lazy/eager), 1x1 (lazy/eager) and 1xm (lazy/eager).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@831194 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 04:09:05 +00:00
Pinaki Poddar 5e73ca14ed Consolidate property key-value processings for javax.persistence.* keys. They have been accumulating in OpenJPAConf and now moving to where they belong i.e. PersistenceProductDerivation. The value processing from String/integer/enums for these properties have also been spread across many places and now being localized.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 00:22:27 +00:00
Michael Dick 530a190ebb OPENJPA-1141:
Optionally reorder MetaData resolution for entities which use derived IDs
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830690 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 17:34:45 +00:00
Pinaki Poddar 5016fc69f8 OPENJPA-944: Indirect recursion in fetch. Solution provided by Yanko Zhikov.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830431 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 03:43:27 +00:00
Jeremy Bauer ad1029fde4 OPENJPA-1115 Wrap non-null sequence property values so they are processed as a single property value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@830338 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 21:02:34 +00:00
Pinaki Poddar 13c88d75cf OPENJPA-1334: i) Calibrate type-based cache eligibility logic to align better with new JPA 2 as well as previous @DataCache behavior.
ii) Use CacheMode settings via FetchPlan.
iii) Cleanup hint handler etc. Replace implementation by interface. 
iv) Start organizing JPA property processing
v) Improve upon EntityManager.setProperty()

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@828880 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 22:33:13 +00:00
Pinaki Poddar 8abd836dcf OPENJPA-1334: Support instance-based cache partition
move type-based cache eligibility logic to DataCacheManager from ClassMetaData.
Calibrate tests to new eligibility policy

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827788 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 20:47:12 +00:00
Jeremy Bauer 04df2fac82 OPENJPA-1115 Committing code and tests contributed by Dianne Richards. This commit cleans up some issues with manual/user specified delimiters and adds initial support for full delimiting via the delimited-identifiers element in orm.xml.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827727 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 16:31:39 +00:00
Jeremy Bauer 1dc5b3bd83 OPENJPA-926 Switch access type modification to log at trace instead of warning level. An access type change is normal under conditions such as XML overrides. A warning could be misconstrued as a problem that needs to be corrected in OpenJPA or application code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827638 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 15:00:48 +00:00
Pinaki Poddar afb95a595f OPENJPA-1085: Add toString() to PCStates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826953 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:02:19 +00:00
Pinaki Poddar 6d6645b7ed OPENJPA-1085: Add toString() to PCStates
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826951 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 04:49:13 +00:00
Pinaki Poddar cc9644dafe Register type alias eagerly.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@826944 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 03:58:17 +00:00
Pinaki Poddar 85e631a193 OPENJPA-1334: Support partitioned cache with instance-level distribution policy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825768 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 05:07:56 +00:00
Fay Wang 79a4b76fdf OPENJPA-1352: fix instantiation of proxyCollection/Map for Arrays.asList
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825700 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:35:42 +00:00
Richard G. Curtis 6d50e87a03 OPENJPA-250: Have preload process registered classes. Added simple preload testcase. Fixed problem where preloading wasn't being enabled due to a change in 821925.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@825623 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 19:28:23 +00:00
Pinaki Poddar 454afa0249 OPENJPA-1050: Use generics for AbstractDataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824878 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 18:46:35 +00:00
Pinaki Poddar f74e988088 OPENJPA-1341: PostRemove callback trigger points
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824454 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 18:48:10 +00:00
Albert Lee eb41b03ff4 OPENJPA-1344 Add checks for needed exception conditions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@824213 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 01:49:30 +00:00
Pinaki Poddar 0d9bd741b3 OPENJPA-1050: Use generics for LifeCycleEventManager
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@823267 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 18:52:08 +00:00
Catalina Wei 6ab4b48d55 OPENJPA-1339 JPA2 JPQL GROUP BY embeddable is not allowed
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822562 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 02:47:16 +00:00
Catalina Wei 1b91bd3b58 OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822528 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 22:22:09 +00:00
Catalina Wei 020d46ef12 OPENJPA-1338 Allow comparison for VALUE(e) that maps to basic type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@822330 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 16:13:33 +00:00
Richard G. Curtis 38a54f39f7 OPENJPA-250: Moved preloading to later in the init process and only create MDR if preload is configured.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821925 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 17:14:29 +00:00
Michael Dick cc5664fe2d OPENJPA-1328:
Check cacheability in ClassMetaData instead of AbstractDataCache. 
Merged patch from Jody Grassel to trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821450 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 23:40:49 +00:00
Fay Wang 97aca65ddc OPENJPA-1237: allow customized MappingRepository
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@821236 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 03:42:01 +00:00
Pinaki Poddar 1ff5810e9e OPENJPA-250: Correct MetaDataRepository plug-in configuration.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820804 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:30:39 +00:00
Pinaki Poddar 99844b6b1f OPENJPA-1332: Make some Value "private".
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820712 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 16:43:19 +00:00
Donald Woods 797de03a10 OPENJPA-1229 Update NOTICE files to match new ASF/Sun agreement for releasing early access specs. Also point to new geronimo-staging-017 to pickup latest spec releases under vote with updated notices.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820684 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 15:19:10 +00:00
Donald Woods 02471ca7e7 OPENJPA-1229 Reworked Persistence.createEMF() exception handling in the geronimo-jpa2 spec api (PFD2), which wraps all exceptions in a PersistenceException and can now return multiple provider exceptions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@820440 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 20:49:09 +00:00
Pinaki Poddar 7d6ccb108c OPENJPA-1050: Use generics for Filters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819801 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:39 +00:00
Pinaki Poddar baf800f3b0 OPENJPA-1050: Use generics for BrokerFactory
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819800 13f79535-47bb-0310-9956-ffa450edef68
2009-09-29 02:43:32 +00:00
Pinaki Poddar 9f24d10ecd OPENJPA-1050: Use generics for DataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@819771 13f79535-47bb-0310-9956-ffa450edef68
2009-09-28 23:51:33 +00:00
Michael Dick f1af41c44c OPENJPA-1298:
Remove WriteBehindCallbackManager which 'shared' a single callback with multiple EMFs unintentionally

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817679 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 14:45:26 +00:00
Richard G. Curtis 4378977891 OPENJPA-250: Committing to trunk. Submitted by Patrick Linskey, Simon Droscher, and Rick Curtis.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@817429 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 21:59:21 +00:00
Fay Wang cf7f69bbd5 OPENJPA-1253: support non-default One-To-Many mappings
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816795 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 21:53:47 +00:00
Michael Dick 1c4a61758a OPENJPA-1305:
Broker used by the WriteBehindCallback should be considered unmanaged.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816275 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 16:52:28 +00:00
Fay Wang 8c1e1a7ea5 OPENJPA-1253: support non-default uni-directional OneToMany using foreign key strategy, using JoinColumn annotation.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@816085 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:49:13 +00:00
Fay Wang 72f2cb8516 OPENJPA-1253: allow JoinColumn in conjunction with OneToMany annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@815988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 22:13:26 +00:00
Fay Wang 1e77f6a3e1 OPENJPA-1286: default isAbstractMappingUniDirectional to false
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814037 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 21:24:12 +00:00
Fay Wang eb5baa42a2 OPENJPA-1286: use Compatibility to check if the relationship defined in the MappedSuperclass must be uni-directional.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813605 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 21:50:08 +00:00
Kevin W. Sutter dac8af35b4 OPENJPA-1260. Committing this change for Ravi Palacherla. Mike had previously reviewed the patch for correctness. Ravi changed the patch slightly and re-submitted. Based on a request from the mailing list, I reviewed Ravi's second patch and am committing the changes with a couple of minor modifications. I updated the comments slightly to make sentences. And, I moved the testcases to the "generationtype" package to be with similar testcases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@813597 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 21:35:57 +00:00
Fay Wang d2cc5e0360 OPENJPA-1286: Relationships in mapped superclass must be unidirectional
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811212 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 03:21:32 +00:00
Fay Wang 701221576d OPENJPA-1286: Relationships in mapped superclass must be unidirectional
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811211 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 03:20:19 +00:00
Catalina Wei c880fdeb7f OPENJPA-1287 Criteria query to generate 'optimize for 1 row' for DB2 if selection is an aggregate function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@811159 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 22:34:08 +00:00
Michael Dick 69cf52f68d OPENJPA-1279:
Adding testcases and fixing cache exclusion logic in DataCacheStoreManager

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@810197 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:48:09 +00:00
Michael Dick fdcbdccae0 OPENJPA-1271:
Remove @Override annotations which caused compile errors with JDK5

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808997 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:29:08 +00:00
Michael Dick 991cdcae7d OPENJPA-1271:
Enable CacheStoreMode and CacheRetrieveMode properties to be set for an EntityManager.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808981 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 18:25:08 +00:00
Michael Dick f06d862ec6 OPENJPA-386:
Handle abstract and non abstract MappedSuperClasses identically. 
Submitted By: Jody Grassel

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808243 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:26:37 +00:00
Pinaki Poddar f6ae418aa5 OPENJPA-1267: JDBC Escape Syntax for temporal type data in Criteria Query
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808235 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 00:26:00 +00:00
Fay Wang 9177e9369a OPENJPA-1266: JDBC escape syntax for date, time, timestamp support
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808198 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:01:25 +00:00
Pinaki Poddar f68c531a5b OPENJPA-1265: Support edit of Criteria Query.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@808158 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:54:30 +00:00
Fay Wang e19c75a9c3 OPENJPA-1266: JDBC escape syntax for date, time, timestamp
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807851 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:22:59 +00:00
Michael Dick 8a66927c2d OPENJPA-1264:
Add trailing newlines - checkstyle

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807681 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:56:24 +00:00
Michael Dick 964ab657ce OPENJPA-1264:
Enable shared-cache-mode persistence.xml element. 

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807662 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:08:16 +00:00
Catalina Wei 388b18650f OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@807446 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 01:19:32 +00:00
Catalina Wei 917b49befe OPENJPA-1261 JPQL query result shape for multi-selections including multi-select-new-constructor
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806993 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 17:47:06 +00:00
Michael Dick bb7048d27c OPENJPA-1200:
Discriminator column ignored for in select statement for OneToMany relationships.
Submitted By : Ravi Palacherla

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806693 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 19:55:09 +00:00
Catalina Wei 2615a9b426 OPENJPA-1112 JPA2 Query result of embeddable object can not be further updated
Bulk update of embedded field is not allowed

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806675 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 18:53:40 +00:00
Fay Wang 21d88cadc7 OPENJPA-1256: fix ClassCastExcepton when IdClass contains an ENUM type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@806011 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 00:03:30 +00:00