Commit Graph

4363 Commits

Author SHA1 Message Date
Milosz Tylenda 5498030392 OPENJPA-1935: Add missing jdbc.DBDictionary property to test-ids-informix profile.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072295 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 10:16:49 +00:00
Albert Lee 0c37fc6e57 OPENJPA-1943 - Apply query timeout value to pessimistic row lock statement execution.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072061 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:59:16 +00:00
Kevin W. Sutter cf4a80047e OPENJPA-1945. Updating persistence.xml file to be at version 2.0.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072048 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:30:36 +00:00
Kevin W. Sutter eaad779a33 OPENJPA-1945. Updating configuration files (.properties and .xml) to make the sample easier to use "out of the box", especially for the JSE environment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1072039 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:19:04 +00:00
Michael Dick bc5e826b45 Remove empty finally block
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071619 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 14:32:46 +00:00
Michael Dick a048ba1faa clean deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071443 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 23:35:40 +00:00
Michael Dick 61f686a300 OPENJPA-1940: Use unqualified name when looking for PK columns on Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071439 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 23:17:42 +00:00
Michael Dick 891ccc625c OPENJPA-1912: Generate externalizable methods correctly for super and subclasses.
Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1071123 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 02:12:28 +00:00
Michael Dick 8e6a7ae331 OPENJPA_1939: increase index name length for DB2 version 9 and later
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1070993 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 18:14:46 +00:00
Pinaki Poddar b1b503e136 OPENJPA-1050: Generics for extent
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1069984 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 23:34:15 +00:00
Albert Lee 24f976d619 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/trunk@1069209 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 03:08:00 +00:00
Michael Dick 3c8d303c9a OPENJPA-1876: add jdbc.DBDictionary prop to profiles for locking tests
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068916 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 14:46:29 +00:00
Michael Dick c415857292 OPENJPA-1593: Add OSGi managed runtime.
Submitted By: Wolfgang Glas

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068588 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 21:28:30 +00:00
Michael Dick af080beed3 OPENJPA-1937: update javadoc for evict methods on OpenJPAEntityManager.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1068553 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:26:37 +00:00
Jeremy Bauer d1ec54c691 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/trunk@1068472 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 16:42:22 +00:00
Michael Dick 85a408aca7 restore missing message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1067989 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 16:02:17 +00:00
Milosz Tylenda cdfb5c79c5 OPENJPA-1932: Sun -> Oracle, update copyright year, make LOB term consistent in case, fix typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1067730 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 19:03:15 +00:00
Kevin W. Sutter 90a95d4ee9 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/trunk@1067185 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 14:51:26 +00:00
Jeremy Bauer 5c92fc502a Remove extraneous TX commit in test variation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1066316 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 03:09:56 +00:00
Milosz Tylenda ee92abbdd0 OPENJPA-1932: Update for version 2.2.0, fix link to Building OpenJPA wiki page.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1065358 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 19:27:21 +00:00
Milosz Tylenda 6dab974ec7 OPENJPA-1932: Update version to 2.2.0, copyright year, drop support for Java SE 5, fix typos.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1065252 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 11:38:56 +00:00
Pinaki Poddar 84e66b1d84 Add exception message for configuration error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063867 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 20:50:23 +00:00
Richard G. Curtis cc1dcd9a4c OPENJPA-1847: Fix NPE in SchemaGenerator and formatting.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063827 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:54:54 +00:00
Pinaki Poddar d91475d506 Add exception message for configuration error
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1063823 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:43:06 +00:00
Milosz Tylenda 987513f7ac OPENJPA-1876: Tests speed-up - do not shut Derby down at the end of each test.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1062964 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 20:43:57 +00:00
Jeremy Bauer 8695d9f54f Updated messages to use standard double quotes around literals
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1062894 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:33:48 +00:00
Pinaki Poddar 212740ea77 Correct JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1061583 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 00:07:50 +00:00
Pinaki Poddar 5d5ac618b9 OPENJPA-1050: use generics for FetchGroup
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1061582 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 00:07:20 +00:00
Pinaki Poddar 40052c12ad OPENJPA-1927:Add first few tests to try out the test environment
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1061099 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 01:57:42 +00:00
Pinaki Poddar 6259f9a0bb OPENJPA-1851: Code clean up + Rearrange constants
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060139 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 23:54:05 +00:00
Pinaki Poddar 01c9608fe6 OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060113 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 22:26:36 +00:00
Pinaki Poddar 28a0c0da86 OPENJPA-1923: Remove restriction to enclose collection-valued query parameter in parentheses. The commit ran tests locally and partially as my TeamCity agent is broken.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1060094 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 21:15:29 +00:00
Michael Dick 0568802abf OPENJPA-1699: Fix typo
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1058757 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 21:59:50 +00:00
Michael Dick d916e6feb8 OPENJPA-1699: Add documentation for fully materialized LOB issue with streaming LOBs and DB2
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1058756 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 21:52:39 +00:00
Richard G. Curtis d48bbbe6cd Update AutoDetach docs.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057901 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 22:43:27 +00:00
Richard G. Curtis c8b5c8350e OPENJPA-1910: Update PersistenceProviderImpl to use different classloader when running in osgi.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057817 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 19:28:34 +00:00
Richard G. Curtis 04b1abb039 OPENJPA-1856: Make DataCache eviction due to bulk updates configurable.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1057315 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 19:03:21 +00:00
Michael Dick 7b97c4b91f OPENJPA-1909: Enhancing proxy entities separately with the appropriate configuration.
Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1056354 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 15:29:31 +00:00
Richard G. Curtis 06c3ec6458 OPENJPA-1918: Append PUInfo classloader to MDR.preload() classloader chain.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1056126 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 00:02:05 +00:00
Richard G. Curtis 7e2bfa3029 OPENJPA-1717: Doc updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1056068 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 20:45:08 +00:00
Richard G. Curtis be2b020dcc OPENJPA-1717: Doc updates.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1055617 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 20:14:33 +00:00
Richard G. Curtis 0549627bd2 OPENJPA-1917: Cache column alias.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1055524 13f79535-47bb-0310-9956-ffa450edef68
2011-01-05 16:58:33 +00:00
Richard G. Curtis 933da55ce5 OPENJPA-1915: Add missing license headers from OPENJPA-1911.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1055078 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 15:20:53 +00:00
Fay Wang c39cd993fa OPENJPA-1911: fix merge problem for entities with derived id
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1054717 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 19:32:03 +00:00
Richard G. Curtis aae0ccfc3a OPENJPA-1906: Fix message so that variable substitution works.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1052116 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 00:18:04 +00:00
Richard G. Curtis caeb66ab25 OPENJPA-1896: Allow merging a StateManagerless Entity with a default primitive version.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1052025 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 18:41:09 +00:00
Richard G. Curtis a927273cf9 OPENJPA-1900: Fix ClassCastException when serializing a proxy for an Entity that exists in an active persistence context. Patch contributed by Mark Struberg.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1050169 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 21:29:51 +00:00
Richard G. Curtis b6024187ba OPENJPA-1900: Fix ClassCastException when serializing a proxy for an Entity that exists in an active persistence context. Patch contributed by Mark Struberg.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1050168 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 21:26:39 +00:00
Jeremy Bauer aedc8d9dd0 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/trunk@1050137 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 20:09:08 +00:00
Donald Woods 5c6fffd259 OPENJPA-1786 Upgrade to latest JPA 2.0 TCK (05-Dec-2010)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1049091 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 13:59:06 +00:00