3996 Commits

Author SHA1 Message Date
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
Jody Grassel
2efc9c4920 OPENJPA-1905: Validate jar-file pu element after confirming OpenJPA is chosen provider
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1045352 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 20:06:18 +00:00
Michael Dick
25e0ed7d4f OPENJPA-1884: setting svn eol style
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1044029 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 16:51:47 +00:00
Albert Lee
8cf5f35488 OPENJPA-1904 Propagate refresh operation for eagerly fetched relationship fields.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1044005 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:33:06 +00:00
Richard G. Curtis
0a087b2679 OPENJPA-1810: Merge performance changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1044002 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 15:25:44 +00:00
Jeremy Bauer
d49c52b99f OPENJPA-1884 Updated entity manager impl to process cache store mode property provided on refresh method and updated data cache manager to refresh the L2 properly when a store mode is provided.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1043828 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 03:08:23 +00:00
Jeremy Bauer
867555fc92 Cleanup message text
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1041926 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 17:41:59 +00:00
Michael Dick
47485da4af rollback rev 1038109 which caused problems with xmlstore module
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1040790 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 21:57:00 +00:00
Michael Dick
2192cf34b6 OPENJPA-1898: reduce number of threads in testcase.
Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1040753 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 20:17:11 +00:00
Michael Dick
e50d624104 OPENJPA-1902: add all reserved words to invalidColumnWordSet for SQLServer
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1040709 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 19:11:09 +00:00
Michael Dick
a027cca521 [maven-release-plugin] copy for branch 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1040583 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 15:31:59 +00:00