Commit Graph

1319 Commits

Author SHA1 Message Date
Patrick Linskey 75309a2447 OPENJPA-595. Porting to 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655657 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 21:42:57 +00:00
Patrick Linskey b56f30427f OPENJPA-589. Added license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655655 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 21:32:08 +00:00
Patrick Linskey a927500b5e OPENJPA-589. Porting patch from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655617 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 19:43:57 +00:00
Patrick Linskey 194f59f02f OPENJPA-597. Committing on behalf of Sandeep Srivastava.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655600 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:58:00 +00:00
Patrick Linskey 51950e7d49 OPENJPA-591. Porting Mike's work to 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655595 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:41:33 +00:00
Patrick Linskey 07d65dcfa4 OPENJPA-231. Adding license headers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655592 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:32:30 +00:00
Patrick Linskey 46720b6f02 OPENJPA-592. Oops, reverting earlier commit. I got my issue numbers mixed up.
If MySQL doesn't have a concept of a schema, I do not believe that we should necessarily try to emulate schemas.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655587 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:21:28 +00:00
Patrick Linskey 5fcb3c01a0 OPENJPA-592. Committing on behalf of Jason Zheng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655586 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:16:10 +00:00
Patrick Linskey 1dde59cd79 OPENJPA-594. Applying Dinkar Rao's patch to the 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655583 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 18:03:45 +00:00
Patrick Linskey 813d37d743 OPENJPA-130. Committing on behalf of Ignacio Andreu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655581 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 17:59:27 +00:00
Patrick Linskey d90a7c7a6e OPENJPA-231. Committing on behalf of Qin Feng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@655354 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 18:39:57 +00:00
Catalina Wei ee170672b1 OPENJPA-573 JPQL: The combination LIKE ESCAPE does not accept parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 03:26:24 +00:00
Patrick Linskey 4557647611 OPENJPA-502. Changed default for JPQL compatibility setting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653088 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 14:54:25 +00:00
Patrick Linskey 5285003079 Added license headers to new image source files.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653085 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 14:31:29 +00:00
Patrick Linskey e4a9976f26 Fixed typo in class name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653083 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 14:26:39 +00:00
Patrick Linskey 712a397e88 OPENJPA-417. Docs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653081 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 14:14:25 +00:00
Patrick Linskey 705144dfea OPENJPA-130. Committing on behalf of Ignacio Andreu.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653008 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 06:30:27 +00:00
Patrick Linskey 53da9d32ab Improve concurrency by actively managing AbstractBrokerFactory's broker set when using non-finalizing brokers. Credit goes to Arunabh Hazarika for identifying the bottleneck and prototyping this solution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@653000 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 04:41:48 +00:00
Patrick Linskey 148bb16613 OPENJPA-579, OPENJPA-585, OPENJPA-587, OPENJPA-588. Checking in on behalf of Sandeep Srivastava and Jason Zheng.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652987 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 03:13:45 +00:00
Patrick Linskey c9fd781007 Simplify algorithm in NullSafeConcurrentHashMap; change SizedConcurrentHashMap's algorithms to remove overflow before putting new records into cache instead of after to avoid removing the very instances that were put.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652930 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 22:21:51 +00:00
Patrick Linskey d8b82311f5 OPENJPA-544. JDK1.5 conversion hangover. Introduce pseudo-random behavior into NullSafeConcurrentHashMap. This is important for the various data structures in OpenJPA and derivitaves (mostly caches) that rely on pseudo-random cache removal. These data structures were exacerbated by the fact that ConcurrentHashMap seems to return an Iterator that is approximately LIFO, which is often the worst possible algorithm. This change is pseudo-random in the face of 16 random removes / accesses per put() call; this behavior is hard coded and could be tweaked to become configurable / adaptive.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652523 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:56:17 +00:00
Patrick Linskey 3ac1f08072 OPENJPA-392. Fixing a new manifestation of this bug introduced by a BEA contribution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652521 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:49:07 +00:00
Patrick Linskey 8577dde96f OPENJPA-522. TestFetchPlanStacks failed on my Mac but passed on the Linux build machine; it seemed to have something to do with FetchConfiguration equality / hashCode implementation. Changed to IdentityHashMap to avoid the issue altogether.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652035 13f79535-47bb-0310-9956-ffa450edef68
2008-04-28 00:56:50 +00:00
Patrick Linskey 83190655e5 OPENJPA-522
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@652026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 23:12:10 +00:00
Patrick Linskey cb555369c7 OPENJPA-567. Committing on behalf of Vikram Bhatia.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@651166 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 06:15:28 +00:00
Patrick Linskey 2e06715a63 Make the MetaDataCacheMarshaller more configurable, and fix error handling in CacheMarshallerImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@651121 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 00:20:27 +00:00
A. Abram White a584a81022 Use a pinnedMap that doesn't die on nulls in the CacheMap.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650989 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 18:29:51 +00:00
Patrick Linskey 22b2f1858e OPENJPA-536. Checking in optimization on behalf of Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650703 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 00:08:31 +00:00
Patrick Linskey 69e3633c49 OPENJPA-576. Committing on behalf of Sandeep Shrivastava.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650684 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 22:45:49 +00:00
Patrick Linskey a6ffd14d02 OPENJPA-576. Reverting Sandeep's change pending an updated change from him.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650633 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 20:09:28 +00:00
Patrick Linskey bf6da0b5fe OPENJPA-576. Committing on behalf of Sandeep Srivastava.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650607 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 18:42:43 +00:00
Patrick Linskey 44e06d03a3 OPENJPA-536. Committing on behalf of Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650559 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 15:46:58 +00:00
Patrick Linskey a657dda465 OPENJPA-577
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650226 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 19:16:47 +00:00
Patrick Linskey 6cfe69e198 No JIRA issue. Resolved an issue manifested in internal test suites with selection of CLOB field types in some projection select cases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@650217 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 18:32:09 +00:00
Albert Lee abbc41eec5 OPENJPA-570 - Apply same change from trunk to 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@648359 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 18:07:42 +00:00
A. Abram White e5f31365e6 Submit patch for OPENJPA-564.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@647250 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 18:07:12 +00:00
Patrick Linskey e070152012 OPENJPA-536 -- temporarily disabling earlier fix to this issue as it is causing integration problems. A more complete fix will be forthcoming.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@647033 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 02:37:43 +00:00
Catalina Wei b3f919b1cc OPENJPA-547 add test strings for FETCH JOINs
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@647026 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 01:08:29 +00:00
Albert Lee b4fda6a917 OPENJPA-565 - Add test case.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646595 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 23:27:55 +00:00
Catalina Wei 61b785ca96 OPENJPA-547 INNER JOIN FETCH query incorrectly generates LEFT join SQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:09:42 +00:00
Albert Lee 4cca7188c5 OPENJPA-565 - Ignore duplicate NamedQuery definition and continue to parse the remaining entries in NamedQueries definition.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646379 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 14:31:35 +00:00
Patrick Linskey 8d923c33a3 OPENJPA-562. Checking in on behalf of Sandeep Shrivastava after running 'mvn test'
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646108 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 22:32:35 +00:00
A. Abram White 7cece296b3 More efficient fix for OPENJPA-245.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646082 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 21:29:19 +00:00
Patrick Linskey a82b7332f1 OpenJPA 1.1.x Branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@646044 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:28:37 +00:00
A. Abram White ea8b942364 Be a little more flexible on the exceptions thrown when persisting instances
with auto-generated keys already assigned values.



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645610 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:52:31 +00:00
A. Abram White 9c19356c7c Fix for OPENJPA-554.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@645589 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 16:18:26 +00:00
Albert Lee 1b5aac791d OPENJPA-559 : Add SerialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644852 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 19:43:36 +00:00
Patrick Linskey 690cb80eb9 Change OpenJPAEntityManagerFactory.getStoreCache(String) to create the cache on-demand if it doesn't exist. This turns an error condition into functional behavior, so there should be no backward-compat issue.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644635 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 07:34:53 +00:00
Patrick Linskey dd7014a527 OPENJPA-556. This implementation does some extra copying to accomodate DataCache.getAll(), which takes a List instead of a Collection.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644627 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 06:55:13 +00:00
Catalina Wei 36c68c49f5 OPENJPA-555 MappingTool got NullPointerException in DB2Dictionary.isDB2ZOSV8xOrLater()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644177 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 05:52:38 +00:00