Commit Graph

1580 Commits

Author SHA1 Message Date
Michael Dick 689d1c5385 OPENJPA-633 updating rat plugin to alpha-3 and adding exceptions to release profile
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668838 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 21:36:25 +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
Pinaki Poddar e00c6e8f80 OPENJPA-625: remove Embedded collection members throws exception in PCData
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@668268 13f79535-47bb-0310-9956-ffa450edef68
2008-06-16 19:29:24 +00:00
Pinaki Poddar 7ac8321f27 OPENJPA-209,OPENJPA-210: Test for projection query with duplicate result
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667647 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 20:46:40 +00:00
Pinaki Poddar 71519b0808 OPENJPA-610: Restored refresh() behavior for clean/new instances.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667312 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 01:58:49 +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
Michael Dick 0c346ba7ce OPENJPA-633. Updating deploy locations to use your home directory on people.apache.org.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@667126 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 15:08:24 +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 ef098b3acd Merged part of r657897 from 1.1.x, excluding the pom changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666922 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:01:46 +00:00
Patrick Linskey 90332224f7 Merge from ../branches/1.1.x. svn merge -c 657162 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666921 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 00:00:06 +00:00
Patrick Linskey 06ab9692d5 Merge from ../branches/1.1.x. svn merge -c 657148 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666920 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:44 +00:00
Patrick Linskey 12c0a094ee Merge from ../branches/1.1.x. svn merge -c 656796 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666919 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:59:15 +00:00
Patrick Linskey 5ee728e332 OPENJPA-600. Merge from ../branches/1.1.x. svn merge -c 656006 ../branches/1.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666918 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:58:16 +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 753be68e24 OPENJPA-231. Merging r655354 and r655592 from 1.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666912 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:52:31 +00:00
Patrick Linskey f183c42b90 Merge from ../branches/1.1.x/. svn merge -c 653088 ../branches/1.1.x/
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666909 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:50:05 +00:00
Patrick Linskey 1ac94263ac Merge from ../branches/1.1.x/. svn merge -c 653083 ../branches/1.1.x/
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666907 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:49:12 +00:00
Patrick Linskey c9c6aadc85 OPENJPA-417. Merged r653081 and r653085.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666906 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:48:33 +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 f17afddbd6 Merge from ../active. svn merge -c 652930 ../active
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666903 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:43:11 +00:00
Patrick Linskey e8702b1ed3 Merge from ../active. svn merge -c 653000 ../active
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666900 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:40:27 +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
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