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