Commit Graph

1448 Commits

Author SHA1 Message Date
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
Pinaki Poddar 1fda19f8b7 OPENJPA-610: Correcting the @since version
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661817 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 19:06:01 +00:00
Pinaki Poddar 794305c2f1 git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661800 13f79535-47bb-0310-9956-ffa450edef68 2008-05-30 18:10:50 +00:00
Pinaki Poddar 89b296fd54 OPENJPA-610: OpenJPA internal exceptions are heuristically translated at facade-level to JPA-defined exception subtypes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@661498 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 21:53:51 +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
Pinaki Poddar 45693d4e7a OPENJPA-610: refresh() hits database irrespective of clean/dirty state or current lock mode or active/inactive DataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660753 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 22:45:01 +00:00
Pinaki Poddar 8f97a2aea3 Clear instances before running the tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@660536 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 14:40:17 +00:00
Pinaki Poddar 1ad21f614c OPENJPA-610 Adding some comments/formatting to the tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659679 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:51:25 +00:00
Pinaki Poddar 534778acf8 OPENJPA-610 Test cases to identify use cases where behavior differs because of DataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659669 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 21:35:32 +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 dcada13237 OPENJPA-574 Cached object in DataCache not evicted due to StatementBatching not reporting OptimisticException
Handle  (-2) updateCount returned from Batching for Oracle.
Got a ClassCasstException while testing multiple entries in DataCache needed to be removed due to OptimisticException.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@659036 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 08:05:00 +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
Albert Lee 11f4d0d7ad OPENJPA-604 - Use English only locale for TRACE, INFO, WARN, ERROR and FATAL keywords in Log specification.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658714 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 14:41:02 +00:00
Michael Dick b2ba44fcfd Attaching javadoc and source jars to the release profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658699 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 14:15:45 +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
Catalina Wei b3f87ba1ec OPENJPA-596 ClassCastException during in-memory update with Informix IDS 10.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@658541 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 03:17:04 +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
Michael Dick 8c756bf655 OPENJPA-559 set SerialVersionUID to a value compatible with previous releases.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@657813 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 12:43:34 +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
Michael Dick 4ac794ee69 OPENJPA-589 updating testcase with Fay's changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655842 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 12:52:57 +00:00
Patrick Linskey c27bed9d7b OPENJPA-589. Committing test cases on behalf of Fay Wang.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@655682 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 22:50:57 +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
Catalina Wei 01e08029e9 OPENJPA-595 A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654885 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 17:05:45 +00:00
Michael Dick d35bc879cb OPENJPA-149 remove maven warnings due to invalid pom
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654858 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 15:32:49 +00:00
Catalina Wei 3187089432 OPENJPA-589 Can not retrieve M-to-M data when DataCache is on
committing patch provided by Fay Wang

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654658 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 00:13:48 +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 3f9dcdbb76 OPENJPA-595 A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654626 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 21:24:47 +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
Catalina Wei 63850bed0b OPENJPA-590 cleanup unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654324 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 23:32:32 +00:00
Pinaki Poddar 33e094c6f1 OPENJPA-586 Query parameter binding for externalized fields
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654272 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 21:06:16 +00:00