Commit Graph

513 Commits

Author SHA1 Message Date
Catalina Wei e3dbdac159 OPENJPA-644 Handle databaseProductVersion string from newer jcc driver for DB2 ISeries
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@672008 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 19:38:30 +00:00
Michael Dick 976a5e1faf OPENJPA-642 committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@671585 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 15:46:44 +00:00
Pinaki Poddar f62ea1ab0d OPENJPA-533: Update query can set single-valued association to NULL or non-NULL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@669332 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 23:25:59 +00:00
Pinaki Poddar a8e0dc180e OPENJPA-458: Amplified SQL Exception processing. Introduced a new sql-error-state-codes.xml to specify database specific error code for different types of Store exceptions. This helps to narrow SQL exception to a specific errors which bubble up to user application.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668814 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 20:07:12 +00:00
Catalina Wei 514a4bb907 OPENJPA-634 Batched updates resulted in SQLException was not propagated back to users application
fix OutOfMemoryException

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667302 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 00:23:56 +00:00
Patrick Linskey b3c7e8290c Merge from ../branches/1.1.x. svn merge -c 661090 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666923 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:02:34 +00:00
Patrick Linskey 629977fb1c OPENJPA-597. Merge from ../branches/1.1.x. svn merge -c 655600 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666915 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:55:46 +00:00
Patrick Linskey 1a45d110a2 OPENJPA-130. Merging r655581 from 1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666914 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:55:03 +00:00
Patrick Linskey 97a94847f6 OPENJPA-130. Merge from ../branches/1.1.x. svn merge -c 653008 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666905 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:46:28 +00:00
Patrick Linskey 547438ed18 OPENJPA-579, OPENJPA-585, OPENJPA-587, OPENJPA-588. Merge from ../active. svn merge -c 652987 ../active
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666898 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:29:11 +00:00
Michael Dick 981c023e0e OPENJPA-633 updating pom.xml files to be compatible with the maven-release-plugin. There are a lot of formatting changes which are needed to prevent the plugin from removing our copyright header.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666731 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 16:48:56 +00:00
Catalina Wei 545c6732c8 OPENJPA-634 Batched updates resulted in SQLException was not propagated back to users application
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666595 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 09:48:06 +00:00
Pinaki Poddar f1ac625b2c OPENJPA-209: Detect identical instances being added to L1 cache multiple times during a load session.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666515 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 03:33:35 +00:00
Catalina Wei d965db7271 OPENJPA-634 Batched updates resulted in SQLException was not propagated back to users application
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666512 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 03:03:16 +00:00
Pinaki Poddar 63c4899227 OPENJPA-602: Avoid NPE when table-per-class inheritance staregy with an abstract root. See test cases for further details.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666314 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 20:34:52 +00:00
Catalina Wei ddc42e8078 OPENJPA-631 provide detailed SQLException for batched statements that encountered error in DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666137 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 14:45:59 +00:00
Albert Lee 110e3ff4b0 OPENJPA-630 Enforce no statement batching support if batchlimit set to 1.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@665915 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 22:02:12 +00:00
Michael Dick a4d905f345 OPENJPA-629 trim schema name for Informix only.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@665801 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 17:53:22 +00:00
Michael Dick ffbc73ffa6 OPENJPA-629 trim schema name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@665762 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 16:51:55 +00:00
Catalina Wei 8a80d753a3 OPENJPA-622 Informix -lock timieout, cursor not open problem for NonJTA datasource transaction RESOURCE_LOCAL in JEE
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@663358 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 19:49:41 +00:00
Catalina Wei 48b1fb5a37 OPENJPA-617 Add support for calculating update value in QueryImpl.updateInMemory
Help comitting patch provided by Fay Wang
Add support for in-memory math - sqrt, abs functions

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661472 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 20:38:21 +00:00
Catalina Wei d1aa6a2c48 OPENJPA-617 Removed hardcoding platform string.
a minor fix of the message text id from batch_update_success_count to batch-update-success-count.
Just caught that immediately after last commit.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661207 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 04:27:42 +00:00
Catalina Wei 93417f99e3 OPENJPA-617 Removed hardcoding platform string.
also relocated 2 jdbc trace messages.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661200 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 03:51:34 +00:00
Catalina Wei faa0f26cdd OPENJPA-612 Add support for calculating update value in QueryImpl.updateInMemory
Help comitting patch provided by Fay Wang
Add support for in-memory string function evulation

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661124 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 22:19:31 +00:00
Catalina Wei dbbd1236f2 OPENJPA-612 Add support for calculating update value in QueryImpl.updateInMemory
Help comitting patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660825 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 06:08:41 +00:00
Catalina Wei c1e5f27724 OPENJPA-615 add trace to display connection properties default setting during DataSource initialization
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660770 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:20:26 +00:00
Catalina Wei 2d217257d9 OPENJPA-614 set supportsTimestampNanos = false for SQLServer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660767 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 00:55:10 +00:00
Catalina Wei 93e15d846c OPENJPA-574 fix a potential NullPointerException in checkUpdateCount for statement batching.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659364 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 02:14:35 +00:00
Catalina Wei 81fc3ab605 OPENJPA-606 More changes to Informix specific properties in the InformixDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659317 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 23:55:49 +00:00
Catalina Wei 72df500c6e OPENJPA-574 Cached object in DataCache not evicted due to StatementBatching not reporting OptimisticException
Handle  (-2) updateCount returned from Batching for Oracle.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659030 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 07:39:21 +00:00
Catalina Wei 8a56c75597 OPENJPA-606 Informix specific message for reporting that it does not support "LOCATE" function
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659028 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 07:34:23 +00:00
Catalina Wei 47f681a7b5 OPENJPA-607 Extraneous "( )" on DISTINCT, ALL, ANY results in SQL syntax errors on some database systems
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659027 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 07:30:25 +00:00
Catalina Wei b2bd03567d OPENJPA-605 Informix will throw an exception when a unique index is explictily created on the primary key columns
Help committing new patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658576 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 07:42:38 +00:00
Catalina Wei 689eec175b OPENJPA-606 InformixDictionary default property setting incorrectly set. Also fixed SQL problems as described in the issue.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658544 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 03:23:18 +00:00
Catalina Wei 99a69bef33 OPENJPA-605 Informix will throw an exception when a unique index is explictily created on the primary key columns
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658542 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 03:19:08 +00:00
Michael Dick 3a5e61238d OPENJPA-213
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658197 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 10:51:42 +00:00
Albert Lee b4ac7e2f41 OPENJPA-601 - Don't initialize datasource for build action.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@656431 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 21:00:35 +00:00
Catalina Wei 956065baa0 OPENJPA-574 fix checkUpdateCount of (-2 SSUCCESS_NO_INFO) for Batching inserts in Oracle and DB2/ZOS.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@656114 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 06:18:18 +00:00
Albert Lee a63b6d3e73 Remove company specific name in message file.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655669 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 22:14:56 +00:00
Catalina Wei 5a16e92bd9 OPENJPA-598 Make BatchingPreparedStatementManagerImpl more flexible and extensible, Sub-task of OPENJPA-477
Committing patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654942 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 21:34:29 +00:00
Michael Dick df0902d4cf OPENJPA-594 committing patch provided by Dinkar Rao
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654652 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 23:38:21 +00:00
Catalina Wei b585833c0c OPENJPA-574 DataCache entries not evicted when multiple OptimisticLockExceptions reported from backend DB.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654631 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 21:31:31 +00:00
Catalina Wei b796e1710f OPENJPA-574 DataCache entries not evicted when multiple OptimisticLockExceptions reported from backend DB.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654337 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 00:18:11 +00:00
Michael Dick 0f32d37668 OPENJPA-407 committing patch provided by Fay Wang and Jeremy Bauer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@652913 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 21:09:14 +00:00
Michael Dick bd2afc3f70 OPENJPA-149 OPENJPA-159 Moving suspendJTA code to ManagedRuntime
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651441 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 22:28:42 +00:00
Albert Lee d78e76aa5a OPENJPA-567. Committing on behalf of Vikram Bhatia in trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651271 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 14:08:31 +00:00
Patrick Linskey 18a3db781b OPENJPA-562, OPENJPA-536, OPENJPA-564, OPENJPA-536, OPENJPA-576, OPENJPA-577. Merging changes from 1.1.x branch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650714 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 01:10:43 +00:00
Albert Lee 2ba16b488a Minor changes: 1) change a few constants from private to protected for use by sub-class. 2) add a couple of new constansts.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650381 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 04:45:13 +00:00
Michael Dick fe45f77f03 OPENJPA-542
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649221 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 18:41:25 +00:00
Catalina Wei 50b81e6d77 OPENJPA-547 INNER JOIN FETCH query incorrectly generates LEFT join SQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646455 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 18:09:42 +00:00
Patrick Linskey 8803104f41 moved release number to 1.2.0-SNAPSHOT now that we've made a 1.1.x branch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@646049 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 19:40:02 +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
Patrick Linskey 95018cef64 OPENJPA-430. Fixed bug that passed all column name checks through to the DBDictionary for potential renaming even when _defMissing is enabled.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@614640 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 19:51:45 +00:00
Patrick Linskey 8464ea75f1 OPENJPA-488. HSQL override is no longer necessary; correct if clause in DBDictionary.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612523 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 17:25:47 +00:00
Patrick Linskey 8c4cf9511e OPENJPA-488, OPENJPA-489, OPENJPA-490, OPENJPA-491, OPENJPA-492
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@612345 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 03:49:23 +00:00
Catalina Wei 0d3bc96fcb OPENJPA-471 iSeries DB2 problem with using @GeneratedValue(strategy=GenerationType.IDENTITY)
or @GeneratedValue(strategy=GenerationType.SEQUENCE)


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610697 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 06:55:17 +00:00
David Ezzio d621aa765d Removed duplicate prefixing of schema name in resolveTableName
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@610427 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 15:59:39 +00:00
Patrick Linskey 26ef9ddabb Obtain the DBDictionary up-front in the mapping tool constructor to ensure that the dictionary is fully configured with connection-specific information.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@609824 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 00:57:05 +00:00
Pinaki Poddar 4fda4e9484 Allow access to underlying DataSource for extensibility
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@608008 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 05:12:25 +00:00
Pinaki Poddar 7bd70d36db Allow JDBCStoreManager to avail configuration different than that of its StoreContext. Wrong tab corrected.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604327 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 23:00:46 +00:00
Pinaki Poddar 2c18b555c7 Allow JDBCStoreManager to avail configuration different than that of its StoreContext
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604318 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 22:35:06 +00:00
Pinaki Poddar 111098f1b3 Shows the failed SQL Statement when things break rather than internal ExpContext object
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603031 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:13:20 +00:00
Pinaki Poddar 38f41d870e OPENJPA-462: Adding SQLState in DerbyDictionary to demonstrate specialization
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603028 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 20:11:22 +00:00
Pinaki Poddar a54f842624 OPENJPA-462: Narrow StoreException by SQLException.getSQLState()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@603001 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 19:15:35 +00:00
Catalina Wei d3fb4cabf8 OPENJPA-460 Can't convert to: Time, InformixDictionary needs timeTypeName set to "DATETIME HOUR TO SECOND"
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@601576 13f79535-47bb-0310-9956-ffa450edef68
2007-12-05 23:37:34 +00:00
Marc Prud'hommeaux 5e650f0ce3 Changed JDK 1.5-specific String.contains() to JDK 1.4-compatible String.indexOf().
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@599596 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 22:08:54 +00:00
Michael Dick 55720f220b OPENJPA-455
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@599192 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 23:13:50 +00:00
Marc Prud'hommeaux 5472692b41 OPENJPA-401 Swapped the order of the class loaders since the previous fix for OPENJPA-401 was causing intermittent failures in loading metadata when the mappingtool task was being run.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@599178 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 22:51:18 +00:00
Marc Prud'hommeaux 30024007cd OPENJPA-223 Handle Indexes with multiple columns, which is a step towards a fix for OPENJPA-223
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@598829 13f79535-47bb-0310-9956-ffa450edef68
2007-11-28 00:25:53 +00:00
Patrick Linskey 5018dfaa88 OPENJPA-126: EntityManager serializability. Also includes a fix to make LoadListener.afterRefresh() work. Committing directly (not via remote queue) as I'm about to lose my internet connection for a while. Hopefully, my local testing is accurate.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597155 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 17:40:54 +00:00
Patrick Linskey c231cc814f Oops, it looks like this change wasn't passing. Not sure why it got committed; I thought I checked it in through the gatekeeper.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597010 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 09:46:08 +00:00
Patrick Linskey 99bb160dae While looking at dynamic class loading, I noticed that we create a separate MappingRepository when doing an in-process schema redefinion. This seems to lead to potentially-out-of-sync states in the main configuration MappingRepository; this change shares the Configuration's repository with the MappingTool.
It looks like the old behavior was somewhat implicit, so I'm hoping that it wasn't necessary, and that this change will be a step forward.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@597002 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 09:20:56 +00:00
Patrick Linskey d4e978f5ae OPENJPA-447. It looks like some of our DBDictionaries might not be handling ranging properly even after this fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596523 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 03:05:36 +00:00
Patrick Linskey 1dcd7b1d75 Minor reformatting to put , on the end of a param line instead of at the beginning of the next line.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@596519 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 02:56:07 +00:00
Patrick Linskey f875a5e98b OPENJPA-200
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595912 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 06:38:33 +00:00
Patrick Linskey 74683912e3 New test case for enums and JPQL (including some disabled failing tests related to OPENJPA-200); simplification to JDBCStoreManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595910 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 05:28:58 +00:00
Patrick Linskey 634bdc5c92 OPENJPA-9
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595508 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 00:51:07 +00:00
Craig Russell 4a8d0b798b OPENJPA-427 Change maxAutoAssignNameLength to 63 for PostgreSQL
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@595383 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 18:14:55 +00:00
Patrick Linskey 17a93adda5 OPENJPA-417. Added support for containers of primitives, embeddeds, externalizables, etc.
This does not include test cases for the following annotations:

    KeyClassCriteria
    KeyColumns (KeyColumn is tested, and follows similar pathways)
    KeyEmbeddedMapping
    KeyJoinColumns (KeyJoinColumn is tested, and follows similar pathways)
    KeyStrategy
    ElementColumns (ElementColumn is tested, and follows similar pathways)
    ElementEmbeddedMapping
    ElementStrategy
    XEmbeddedMapping
    XMappingOverrides (XMappingOverride is tested, and follows similar pathways)

This change presents a backward-compat issue for OpenJPA: in the past, a Collection<String> or Map<String,String> would be mapped as a BLOB by specifying @PersistentMap or @PersistentCollection on the field.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592917 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 21:46:09 +00:00
Patrick Linskey 10de9ba4eb Changed the default table name and index name lengths.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592676 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 09:55:27 +00:00
Patrick Linskey 9b42c2d7a0 'key' is a reserved word in Derby.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592558 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 21:27:52 +00:00
Patrick Linskey af4ea13a2c OPENJPA-430 -- strip hungarian notation prefixes. Checking in patch for Ben Short, along with minor whitespace reformatting and a small tweak to reduce computation if branch logic in correctName() will not use the calculated name.
The initial patch included a test for fields that would end up having duplicate names after truncation. The code, however, does not do anything to resolve / avoid duplicates. To make it work, we would need to change MappingDefaultsImpl.correctName() to take a ValueMapping as an argument, and do a two-pass algorithm to check for other fields that would turn into duplicates. Even doing this will not be foolproof, as a duplicate column might come from a subclass or an embedded class. Since this option is not enabled by default anyways, and the duplicate error would become evident during testing / schema creation, I do not believe that it would be worthwhile to spend much time addressing this.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@592319 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 07:36:55 +00:00
Catalina Wei ac83668ffa OPENJPA-375: undo this fix for DB2 (result set closed problem). The problem is resolved by setting DB2 datasource custom property "resultSetHoldability" to 1 in WebSphere.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590481 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 21:51:47 +00:00
Patrick Linskey 98ef3d9063 OPENJPA-407. Assorted performance improvements found while working on this issue. This change does not include any SQL caching work.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590150 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:56:47 +00:00
Michael Dick 6a26ae2531 OPENJPA-399 committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589788 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 18:26:15 +00:00
Kevin W. Sutter 2f2e39991d OPENJPA-421. Committing Daniel's changes to ensure that the datasource configuration is complete before attempting to generate SQL.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589723 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 16:23:17 +00:00
Michael Dick 80d2c39020 OPENJPA-423
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589696 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 15:48:31 +00:00
Patrick Linskey 1f92ab5842 Formatting fix.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@589246 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 23:57:12 +00:00
Michael Dick cb2a061dc7 OPENJPA-113 with testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587775 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 04:17:59 +00:00
Albert Lee 92919929f8 OPENJPA-413, commit localizer.properties files for Teresa in 110 trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@587688 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 23:07:36 +00:00
Kevin W. Sutter ba6274a19e OPENJPA-410. Committing the change to make the "connecting to database" message a Trace message instead of an Info message.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@586588 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:37:44 +00:00
Kevin W. Sutter a20d36c121 OPENJPA-399. Committing Teresa's most recent patch for this Issue. Should be ready for resolution now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@585774 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 01:37:58 +00:00
Patrick Linskey c2752e27da Use cached and possibly-reset timeout value instead of re-obtaining the configured value. Discovered potential bug while walking through code; no report or reproducer.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@585392 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 06:22:44 +00:00
Marc Prud'hommeaux 5b67b240f1 The overridden toSelect() signature in the OracleDictionary was no longer appropriate since the DBDictionary.toSelect() change in revision #577972 (which fixed OPENJPA-378). This resulted in the special Oracle range handing to no longer take place, resulting in setFirstResult() and setMaxResults() effectively being ignored for Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584463 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 01:02:19 +00:00
Michael Dick 2d6fbb5d13 OPENJPA-399 Committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584354 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 00:51:54 +00:00
Michael Dick 151cf2d034 OPENJPA-399 committing Teresa's patch
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584330 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 23:42:34 +00:00
Michael Dick 31e436df3c OPENJPA-401
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@584190 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 15:36:08 +00:00
Michael Dick 8c6e31a1d9 OPENJPA-397
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582851 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 15:36:49 +00:00
Kevin W. Sutter 4fb0c28dc2 OPENJPA-395. Use getShort instead of getInt for the KEY_SEQ, DEFFERABILITY, and DELETE_RULE metadata fields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@582838 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 14:41:14 +00:00
Marc Prud'hommeaux abff87ef35 OPENJPA345 The last patch had the side effect that the artifact zip doesn't contain most of the required dependency jars (e.g., commons-lang), since the transitive dependencies are not followed to pick up these jars. Resolved this by explicitly listing the required jars in the openjpa-all dependencies. Also moved most of the dependency version numbers into the parent pom.xml dependencyManagement section to ensure that all dependency versions are the same.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581536 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 09:10:54 +00:00
Patrick Linskey 5ef181ab94 OPENJPA-368. Committing Vikram's patch.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581443 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 00:15:12 +00:00
Catalina Wei fab1a92046 OPENJPA-389 et.commit() not issuing database commit for Native queries involving updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@581088 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 21:50:15 +00:00
Michael Dick a92418ddd6 OPENJPA-388
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@580426 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 17:13:41 +00:00
Catalina Wei 5d4d50df96 OPENJPA-378 DB2 "FETCH FIRST <n> ROWS ONLY" clause should not be generated in subselect for SELECT COUNT(*) from (subselect ...) s
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577973 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 03:32:14 +00:00
Catalina Wei c0cf405648 OPENJPA-375 DB2 autoCommit(true) causes Result Set prematurely closed in WebContainer JEE environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@577015 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 18:50:25 +00:00
Catalina Wei 5e590a951e OPENJPA-360 FOR UPDATE clause incorrectly generated
remove transient variable

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@575079 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 21:08:53 +00:00
Catalina Wei a4bf964c08 OPENJPA-360 SQL FOR UPDATE OF incorrectly generated for DB2 UDB version8.1 or earlier and DB2 ISeries V5R3 or earlier.
These  DB2 version also require the "optimize for <n> row" clause appear before FOR UPDATE clause.
Due to this requirement, the OPTIMIZE clause will  appear before FOR UPDATE clause for all DB2 versions.
Also fixed the affected testcases.


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574464 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 05:32:37 +00:00
Patrick Linskey cd66165d76 Fixing incorrect return value.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574285 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 15:53:21 +00:00
Patrick Linskey d022b18ad5 OPENJPA-130. Committing Ignacio's patch, with a few whitespace and method name tweaks.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@574143 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 06:11:29 +00:00
Patrick Linskey a3a74cc233 OPENJPA-356
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573676 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 19:27:13 +00:00
Michael Dick caa4b76fe2 OPENJPA-353
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573398 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 22:16:10 +00:00
Patrick Linskey 6d1c3bfd97 Removing numeric constant in favor of JDK1.4 literal, now that OpenJPA requires 1.4.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@573391 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 21:46:57 +00:00
Pinaki Poddar 44db5768cd Allow dynamic configuration property. Changes include
1. Add getter/setter for boolean 'dynamic' field of Value 
2. Add Value.assertChangeable() that Value subclasses must invoke prior to set
new internal state
3. Changes Configuration readOnly state from a boolean to a simple 3-step state 
variable INIT_STATE_LIQUID/FREEZING/FROZEN. This is done to allow lazy
instantiation of some PluginValues after the BrokerFactory freezes configuration.
4. Removes assertNotReadOnly() check from Configuration implementations' setX() 
methods.
5. Removes dynamic Value related methods from Configuration API and its
implementations


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571294 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:19:44 +00:00
Patrick Linskey e89b51c4c6 OPENJPA-344. Enable serialization of metadata and query compilation caches. This implementation requires that the user run a tool to build the cache, and set a configuration property to tell OpenJPA where the serialized data is stored.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570948 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 22:07:44 +00:00
Marc Prud'hommeaux 614c53df58 Merging changes from 1.0.x branch into trunk (from branch point 567935:HEAD)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570908 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 19:37:59 +00:00
Patrick Linskey 065d3e2f59 OPENJPA-282. Fixed incorrect variable choice.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@570593 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 23:05:26 +00:00