Commit Graph

1580 Commits

Author SHA1 Message Date
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
Michael Dick a31dfaa31f OPENJPA-591
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@654227 13f79535-47bb-0310-9956-ffa450edef68
2008-05-07 19:34:26 +00:00
Michael Dick efcc2577a6 OPENJPA-590 committing patch provided by Fay Wang
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653595 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 20:52:29 +00:00
Michael Dick 40fec0073e Exclude internal repository from RAT check, also update license.txt to mention WebSphere UOW jar
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653499 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 15:27:52 +00:00
Catalina Wei 14eeab2c00 OPENJPA-573 JPQL: The combination LIKE ESCAPE does not accept parameters
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@653176 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 03:26:24 +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 78ff71749c OPENJPA-584
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@652090 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:38:05 +00:00
Albert Lee a5c80fd9e1 Slice module references jvm properties define in trunk's pom.xml, where surefire.jvm.args property is used instead of test.jvm.arguments. Also added suspend=n option.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651849 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 19:27:36 +00:00
Michael Dick a2beac443c OPENJPA-149 OPENJPA-159 fix javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@651457 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 23:27:40 +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
Kevin W. Sutter a08388e8be A couple of minor updates to a couple of slice-related messages. Parameters passed in were not matching the message definitions.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@650163 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 14:52:28 +00:00
Michael Dick 016f0bf61e OPENJPA-442 deprecating and adding javadoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 19:09:19 +00:00
Michael Dick a35b53b27f OPENJPA-442 committing patch provided by Teresa Kan
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649947 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 18:09:19 +00:00
Michael Dick 316ced44c4 fix line wrapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@649244 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 19:30:14 +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
Albert Lee 31c47a6c04 OPENJPA-570 - Model after the AnnotationPersistenceMetaDataParser.parsePackageAnnotations(), an extra test is performed in parseClassAnnotations() method for the Named*Quer* annotations to see if the MODE_QUERY has been performed before by examining the meta.getSourceMode() before the actualNamed*Queries() method is invoked.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@648275 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:12:11 +00:00