Commit Graph

1064 Commits

Author SHA1 Message Date
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