Commit Graph

377 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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
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
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
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
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 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
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
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
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
Albert Lee b4d72d5843 After OPENJPA-9, -help option in scripts is not working anymore. This is caused by Configurations.runAgainstAllAnchors returns true if no error is encountered (including no operation) during function execution. Since the check of the -help option is in the command's run method and if no anchor is found, the help check is skipped.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633921 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 16:38:46 +00:00
Albert Lee f67ace749a OPENJPA-530 Update manual and code to match for the update manager values and default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633363 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 04:51:20 +00:00
Albert Lee 64402ea7da OPENJPA-530 - Change BatchingPreparedStatementManagerImpl to correctly batch dispatched statements in the same order requested by the update managers.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633317 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 22:59:07 +00:00
Albert Lee c3ad06e8ff Change _state and JDBCConfigurationState from private to protect enabling JDBCFechConfigurationImpl subclass to propagate correct state information in subclass's newInstance() method call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633310 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 22:40:13 +00:00
Patrick Linskey 7487d73507 OPENJPA-430. Reverting mapping defaults change; I'm not convinced that the code is correct, but internal Kodo tests fail with the new behavior. Changing for now; more investigation to follow.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@633245 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 19:38:47 +00:00
Albert Lee 177111b559 Potential NPE where custom can be null, Boolean.TRUE or Boolean.FALSE. Follow the pattern in update() and deleet()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631663 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 17:46:00 +00:00
Albert Lee c4af04617e OPENJPA-359 Improve Timestamp resolution for use by versioning.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@631028 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 22:59:29 +00:00
Patrick Linskey 6bb87e6203 OPENJPA-484. Also added 'h2' as an alias for H2Dictionary in the DBDictionary property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@629627 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 21:58:01 +00:00
Michael Dick 161527339a OPENJPA-517
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628811 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 16:53:15 +00:00
Patrick Linskey de8a4760c8 Enable some of the new tests.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@628375 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 19:30:20 +00:00
Srinivasa Segu caa400cbb3 OPENJPA-516. Following the setFormOfUse(...) need to still call setString(...)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627879 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 21:36:58 +00:00
Catalina Wei 4b45bd5877 OPENJPA-477 fix setting up parameter list for PreparedStatement
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@627873 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 21:10:50 +00:00
Michael Dick 81cb7e17f9 OPENJPA-464 commiting patch provided by Teresa Kan
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619664 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 22:11:21 +00:00
Michael Dick 0033a6b3d9 OPENJPA-511
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619471 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 16:01:06 +00:00
Albert Lee 903170b333 Enable ability to subclass of JDBCFetchConfigurationmpl; change one constructor from private to protected.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@619147 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 20:45:20 +00:00
Pinaki Poddar 024faa31d7 OPENJPA-509 Fix & Test for insertion of MappedSuperClass-Entity-Embedded domain model insertion failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618794 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 21:53:39 +00:00
Michael Dick b92f6420af OPENJPA-401 making temporary classloader optional for MappingTool ant task
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618745 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:58:09 +00:00
Patrick Linskey de14ad6630 OPENJPA-147. Changes resulting from tests via Kodo's harness.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@618738 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 18:34:55 +00:00
Patrick Linskey 18c90bbd0b OPENJPA-508 Merge from ../branches/1.0.x. svn merge -c 617760 ../branches/1.0.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@617763 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 06:42:20 +00:00
Kevin W. Sutter 70f3a94b36 OPENJPA-505. Resolving some formatting issues with the r616658 commit.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616878 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 20:01:09 +00:00
Patrick Linskey 0b4ce34920 OPENJPA-505. Committing on behalf of joe@bea.com (Joe Weinstein).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@616658 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 06:49:26 +00:00
Catalina Wei a8f6d3c116 OPENJPA-477 Making StoreManager more flexible and extensible
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614763 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 01:33:48 +00:00
Michael Dick 8d18daabd7 OPENJPA-464 committing patch provided by Teresa Kan
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614731 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 23:25:56 +00:00