4006 Commits

Author SHA1 Message Date
Albert Lee
d480296de3 OPENJPA-1968 Set DATETIME2 based on db version and also set the correct date_precision for DATETIME2 type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1086638 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 16:38:55 +00:00
Richard G. Curtis
f596829acb OPENJPA-1965: Check element type before casting in AnnotationProcessor6.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1085415 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 14:54:10 +00:00
Richard G. Curtis
15dd5febf0 OPENJPA-1944: Properly handle a null version field.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1084351 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 21:08:39 +00:00
Kevin W. Sutter
456888800d Another minor comment update in the ImageValidator sample...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1084293 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 18:41:40 +00:00
Kevin W. Sutter
e762f901e8 Comment update in the Image Gallery test case...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1084262 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 17:27:05 +00:00
Jeremy Bauer
a0b5c4ee5a OPENJPA-1787 Updated "new entity" merge path through AttachManager and BrokerImpl to refrain from firing a pre-persist event before the state of the merged entity is copied to the new entity. Test cases based upon code provided by Oliver Ringel.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1081843 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 16:30:50 +00:00
Michael Dick
28aa310b67 OPENJPA-1959: make runtime exception translator transient
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1080981 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 19:10:41 +00:00
Michael Dick
4ec7ec85aa use generics, remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1080969 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 18:44:27 +00:00
Michael Dick
d111051525 OPENJPA-1958: handle index out of bounds condition.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1080968 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 18:44:19 +00:00
Michael Dick
0349de9779 OPENJPA-1957: restore checkstyle setting
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1080027 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:00:46 +00:00
Michael Dick
2f9f35b4de OPENJPA-1957: treat non element collection like normal serializable types
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1079853 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 15:49:21 +00:00
Michael Dick
3bf746616b increase retries and sleep time for intermittently failing testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1079577 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 22:20:25 +00:00
Michael Dick
a7ea4af7ab increase timeout for tck
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1077975 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 14:45:06 +00:00
Michael Dick
c6bce58666 OPENJPA-1952: Excluding multithreaded test for now.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1074589 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 15:47:24 +00:00
Albert Lee
e5a5fef37a Fix test cases running in DB2 due to 1) dict.forUpdateClause must be obtained after emf is created because specific dictionary may override the value of this attribute, 2) The forUpdateClause in DB2 is LockMode type dependent, (i.e. WITH RR/RS) therefore can not depends on this attribute for positive test case comparison, negative test ok.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1073539 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 23:07:31 +00:00
Albert Lee
7eae35f88b Fix test cases running in DB2 due to 1) dict.forUpdateClause must be obtained after emf is created because specific dictionary may override the value of this attribute, 2) The forUpdateClause in DB2 is LockMode type dependent, (i.e. WITH RR/RS) therefore can not depends on this attribute for positive test case comparison, negative test ok.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1073527 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 22:02:48 +00:00
Michael Dick
56d81e18f8 OPENJPA-1940: Use unqualified name when looking for PK columns on Oracle
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1073124 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 19:54:22 +00:00
Michael Dick
261705b3d7 OPENJPA-1939: Increase index length for DB2 and testcase workaround for OPENJPA-1948
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1073089 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 17:46:49 +00:00
Albert Lee
961364ee71 OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1072062 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:25 +00:00
Michael Dick
36d18ef01e [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071317 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:24:34 +00:00
Michael Dick
f6f2a3ca00 [maven-release-plugin] prepare release 2.1.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071315 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 17:24:18 +00:00
Michael Dick
cbc7806055 OPENJPA-1939: Revert changes due to unit test failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071305 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 16:34:03 +00:00
Michael Dick
0b14011e9e Update release-notes and changes.txt
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071077 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 21:33:25 +00:00
Michael Dick
1c9edc4af2 Update release-notes and changes.txt
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071058 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 21:04:21 +00:00
Michael Dick
1ce3034b67 OPENJPA-1939: Increase max index length for DB2 v9 and later
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1071016 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 19:23:44 +00:00
Albert Lee
fe7601ce39 OPENJPA-1938 Update timeTypeName from DATETIME to DATETIME2 to match the other date/timestamp data type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1069208 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 03:07:55 +00:00
Jeremy Bauer
363808de85 OPENJPA-1935 Updated Informix dictionary to examine nested SQL exceptions when determining whether a generic exception is a lock exception. Added Informix JDBC profile to jdbc and locking poms.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1068473 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 16:44:38 +00:00
Michael Dick
df13647f5c restoring missing message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1068002 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 16:26:20 +00:00
Kevin W. Sutter
2ab8c05d5c OPENJPA-1213. Updating the documentation for the change in behavior with the Query.setParameter() exception processing (at least our implementation of the interface).
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1067188 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 14:58:54 +00:00
Michael Dick
f946376e69 [maven-release-plugin] rollback the release of 2.1.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1067012 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 22:40:05 +00:00
Michael Dick
03fd5aeed2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1066188 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 20:13:13 +00:00
Michael Dick
f33b1088ca [maven-release-plugin] prepare release 2.1.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1066186 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 20:12:56 +00:00
Michael Dick
baa48a1979 Update text files for release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1065809 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 21:42:51 +00:00
Richard G. Curtis
14669aae97 OPENJPA-1847: Fix NPE in SchemaGenerator and formatting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1063829 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 19:00:13 +00:00
Jeremy Bauer
8c65451f71 Updated messages to use standard double quotes around literals
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1062892 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:31:01 +00:00
Pinaki Poddar
e37a9906e5 OPENJPA-1923:Remove restriction to enclose collection-valued query parameter in parentheses. Merged from trunk revision 1060113 and 1060094
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1060971 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 20:29:43 +00:00
Michael Dick
3f1cdd2cc5 OPENJPA-1906: Add warning for ConnectionRetainMode=always
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1059047 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 15:41:55 +00:00
Richard G. Curtis
ce0891ac57 Update AutoDetach docs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1057903 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 22:44:54 +00:00
Richard G. Curtis
ca86bce47c OPENJPA-1910: Update PersistenceProviderImpl to use different classloader when running in osgi.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1057818 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 19:30:12 +00:00
Michael Dick
47da431a48 OPENJPA-1909: Enhance proxy entities separately with the appropriate configuration.
Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1057394 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 22:13:09 +00:00
Richard G. Curtis
f12970baf2 OPENJPA-1856: Make DataCache eviction due to bulk updates configurable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1057319 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 19:11:32 +00:00
Richard G. Curtis
92aba0ead7 OPENJPA-1918: Append PUInfo classloader to MDR.preload() classloader chain.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1056130 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 00:07:20 +00:00
Richard G. Curtis
fc581a7d8f OPENJPA-1717: Doc updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1056069 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 20:47:13 +00:00
Richard G. Curtis
d613e7398c OPENJPA-1717: Doc updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1055619 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 20:17:00 +00:00
Richard G. Curtis
03896431a6 OPENJPA-1917: Cache column alias.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1055527 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 17:01:05 +00:00
Richard G. Curtis
976c19e8d0 OPENJPA-1896: Merging changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1055128 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 18:19:38 +00:00
Richard G. Curtis
ce89c193f7 OPENJPA-1911: fix merge problem for entities with derived id
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1055122 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 18:01:05 +00:00
Richard G. Curtis
b56afb256c OPENJPA-1900: Merge changes from trunk. Changes contributed by Mark Struberg.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1050361 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 12:19:46 +00:00
Jeremy Bauer
1a88e39785 OPENJPA-1907 Use java.util.Date to java.sql.Date type mapping with DB2 on z/OS when column information is not available.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1050081 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 18:05:59 +00:00
Donald Woods
5d946df8b8 OPENJPA-1786 Upgrade to latest JPA 2.0 TCK (05-Dec-2010)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1049109 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 14:29:37 +00:00