Commit Graph

4272 Commits

Author SHA1 Message Date
Michael Dick 25b4e87195 OPENJPA-1952: Excluding multithreaded test which causes intermittent build failures
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1074579 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 15:33:16 +00:00
Albert Lee e3be88bf7e 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/trunk@1073542 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 23:15:01 +00:00
Kevin W. Sutter 78198b67e7 OPENJPA-1945. Okay, we're going to try this again. This time with Pinaki's approval (previous comment in JIRA). Removing "Copyright 2010 Pinaki Poddar" statements from the OpenBooks sample code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073452 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 18:48:06 +00:00
Kevin W. Sutter 3261c1f185 OPENJPA-1945. Oops. According to this url [1], only the owner of the Copyright is allowed to remove them from the source code and put them into the appropriate Notices file. I have sent an e-mail to Pinaki explaining my faux pas and asking him to follow up on the process.
[1]  http://www.apache.org/legal/src-headers.html#header-existingcopyright


git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073379 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 16:14:18 +00:00
Kevin W. Sutter 3d5e01bb1e OPENJPA-1945. Removing "Copyright 2010 Pinaki Poddar" statements from the OpenBooks sample code.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073360 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 15:11:31 +00:00
Michael Dick 4aed0be581 Add constant - findbugs reported
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073212 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 03:17:35 +00:00
Michael Dick 91ef7813d1 OPENJPA-1555: Remove boilerplate code
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073211 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 03:15:07 +00:00
Michael Dick c54b8ca823 OPENJPA-1944: Version defaults to 1 if the column returns null from the database
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073201 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 02:06:11 +00:00
Michael Dick b44614d94b OPENJPA-1939: Increase index length for DB2 and testcase workaround for OPENJPA-1948
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1073042 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 16:06:05 +00:00
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