Commit Graph

1397 Commits

Author SHA1 Message Date
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
Albert Lee ee8155bb60 OPENJPA-552 Remove dis-allowing Connection* properties in
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644129 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 01:18:39 +00:00
Patrick Linskey 999ce2e670 OPENJPA-536. Committing on behalf of Amy Yang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644115 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 00:01:47 +00:00
Michael Dick 79b23557d3 OPENJPA-529. Clone issue with the configuration was accidentally re-introduced
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@644006 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 18:35:50 +00:00
A. Abram White 6aa8fd3c35 Always consider the inclusion of subclasses as part of the query compilation
key, even when the candidate class is encoded in the query string instead of
set programmatically. 



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@643586 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 21:29:26 +00:00
Patrick Linskey 6b5e0c6967 OPENJPA-544. Take advantage of tiger dependency.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@643248 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 03:21:23 +00:00
Albert Lee 1b8ccc6245 OPENJPA-417 - Change isStoreMapCollectionInEntityAsBlob() to getStoreMapCollectionInEntityAsBlob()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641891 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 16:56:05 +00:00
Albert Lee 315a348848 OPENJPA-417 - add openjpa.Compability(StoreMapCollectionInEntityAsBlob=true) option to enable map/collection stores as Blob in the database. This allows existing application continues to work.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641842 13f79535-47bb-0310-9956-ffa450edef68
2008-03-27 15:08:07 +00:00
Catalina Wei dbb722f5ec OPENJPA-541 backout changes.
Customer reported that SQL92 joins are bit slower compare to oracle joins    
(+) and there are known bugs with SQL92 joins. 



git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@641408 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 17:06:46 +00:00
Kevin W. Sutter 608a906aaf OPENJPA-544. Maybe this is a Windows-ism, or an IBM JDK-ism, but I still need the explicit <version>2.4</version> element for the surefire plugin...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640887 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 16:22:35 +00:00
Patrick Linskey b2c1e8f16f OPENJPA-544. Get rid of JDK1.4 support, fold the jdk1.5 modules into their siblings, get rid of some ugly reflection that was there for 1.5 support, and move to the java.util.concurrent collections classes. This includes a wrapper around ConcurrentHashMap that allows nulls, since the old OpenJPA concurrent map allowed nulls and we rely on that behavior. The implication is that putIfAbsent() and some of the other special JDK1.5 methods don't obey the same contracts as in the java.util.concurrent package.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640685 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 03:37:56 +00:00
Kevin W. Sutter 6af619cd89 OPENJPA-540. Committing a simpler version of the patch. Got rid of the ClassResolver classloader and am now just relying on the Class.forName() classloading. This is similar to the processing used for the other *ManagedRuntime classes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640666 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 01:35:28 +00:00
Michael Dick 9dadffffc1 OPENJPA-543
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640511 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:41:12 +00:00
Michael Dick 2d0a3c9157 OPENJPA-542
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@640494 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 18:17:35 +00:00
Catalina Wei 438b877006 OPENJPA-541 Generate SQL92 JOIN syntax for Oracle 9 or later releases
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639874 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 21:46:55 +00:00
Catalina Wei 57ca9afbdd OPENJPA-539 Can't create a table with a field of java type "Map" in Derby
commit patch for Fay Wang. 
testcases have been modified.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639746 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 18:23:19 +00:00
Michael Dick 831bd55051 OPENJPA-528 committing patch provided by Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639681 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 15:48:30 +00:00
Michael Dick 635ee199fe OPENJPA-537
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639647 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 13:58:16 +00:00
Kevin W. Sutter b949f7adc5 OPENJPA-529. Revert the clone() operation on the Configuration object. This is causing problems with the subclassing enhancement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@639431 13f79535-47bb-0310-9956-ffa450edef68
2008-03-20 19:57:30 +00:00
Patrick Linskey 5f0094893e Fixed JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@638667 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 01:01:43 +00:00
Patrick Linskey aff3abd8ed Fixed JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@637439 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 16:57:32 +00:00
Patrick Linskey 4bed57d778 Added license header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636531 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 22:01:23 +00:00
Albert Lee d93ac261ad OPENJPA-535 - fix comment typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@636090 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 20:05:00 +00:00