Commit Graph

4029 Commits

Author SHA1 Message Date
Richard G. Curtis acd6c54ac2 [maven-release-plugin] prepare release 2.1.1
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1148537 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:18:31 +00:00
Richard G. Curtis a230798af5 updating files for release
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1146888 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 20:46:35 +00:00
Richard G. Curtis 5233ca9743 OPENJPA-1986: Remove newly added serialVersionUID and change compatibility flag.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1141200 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 19:11:30 +00:00
Michael Dick 95722e35c8 OPENJPA-2010: Temporarily reverting to unroll other changes."
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1141143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 16:05:43 +00:00
Heath Thomann bebc03a951 OPENJPA-2010: Check line number and source file before logging duplicate meta data warning - merged Mike's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140332 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 21:38:41 +00:00
Michael Dick c012ee98f3 Remove try/catch that hides exception text in TestM2MInDataCache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140251 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 17:50:50 +00:00
Michael Dick 47d7a32e5f OPENJPA-1989: remove extra curly brace and reformat TestToOneLazyXmlOverride
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140250 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 17:50:24 +00:00
Richard G. Curtis b89f6cd462 OPENJPA-2020: Open up some of StateManagerImpl to all for greater extensibility.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140198 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 15:06:24 +00:00
Richard G. Curtis c0077e759f OPENJPA-2014: Allow proxies to stay in place when using LiteAutoDetach.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140191 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:59:59 +00:00
Richard G. Curtis 4c3992fde3 OPENJPA-1989: Fix *ToOne xml fetch attribute to honor LAZY.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140188 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:54:54 +00:00
Richard G. Curtis ade8ff1fb0 OPENJPA-1986: Avoid querying the db when cascading a persist to a new instance.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140182 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:44:38 +00:00
Richard G. Curtis 18fe45f5c6 OPENJPA-1990: Skip calling back to DB2 when an exception is encountered.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1140165 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 14:01:02 +00:00
Heath Thomann 2fd8540c51 OPENJPA-1999: Optional support for non-sequential positional parameters - made additional changes, per Mike Dick, to QueryImpl ctor.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1134440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 20:53:51 +00:00
Heath Thomann a3790a37cd OPENJPA-1999: Optional support for non-sequential positional parameters - Added Rick's test provided in his patch for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1134065 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 20:31:05 +00:00
Heath Thomann e083055ee3 OPENJPA-1999: Optional support for non-sequential positional parameters - used Rick's provided patch for trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1134064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 20:28:07 +00:00
Michael Dick 144a6a43a9 OPENJPA-1725: Add documentation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1133507 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 18:52:41 +00:00
Michael Dick 23cc77b477 OPENJPA-1725: preserve original behavior in 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1102457 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 20:57:05 +00:00
Michael Dick dfbf5983e6 OPENJPA-1725: Do not include schema name when checking table name length. Merged from trunk
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1102047 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 19:34:20 +00:00
Jody Grassel ad5a23d4ff OPENJPA-1996: OpenJPA Samples fail on MacOS X
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1101909 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 14:56:06 +00:00
Michael Dick 2a91e9b7d6 OPENJPA-1985: Check for abstime as a timestamp type for Postgres
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1097237 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 20:55:42 +00:00
Albert Lee 9ce0bb784e OPENJPA-1972 Update test and adapt to DB2 9.7 behavior changes.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1087429 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 20:13:17 +00:00
Albert Lee cdfd66154b OPENJPA-1969 Document "Known Issues.." on DataDirect limitation on precision loss during prepared statement setTimestamp method call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1087074 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 21:09:37 +00:00
Albert Lee e69df20400 OPENJPA-1969 - Decode HYT00 to LockTimeoutException
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1087028 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 17:58:32 +00:00
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