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
Patrick Linskey
8db8e5302e
OPENJPA-544. Merge from ../active. svn merge -c 652523 ../active
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666897 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:27:18 +00:00
Patrick Linskey
6f6634bbad
OPENJPA-522. Backporting r652035 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666895 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:23:33 +00:00
Patrick Linskey
96dd926f4a
OPENJPA-522. Backporting r652026 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666894 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:22:54 +00:00
Patrick Linskey
8fb7ca2b5b
Backported r651121 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666891 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:21:46 +00:00
Patrick Linskey
4d668a44dd
Backported r650989 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666890 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:20:27 +00:00
Patrick Linskey
b589da8070
OPENJPA-245. Backported r646082 to trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666888 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:14:24 +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
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