1085 Commits

Author SHA1 Message Date
Heath Thomann
48951d15fe OPENJPA-2139: Reverting previous changes to 2.1.x as we've found further considerartion/design is needed.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1350035 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:58:26 +00:00
Heath Thomann
423ed6ead0 OPENJPA-2072: Applied Helen Xu's patch to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342291 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 15:04:57 +00:00
Heath Thomann
beab029dad OPENJPA-2095: Applied Helen Xu's patch to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342113 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 00:59:58 +00:00
Heath Thomann
4ea7ec913a OPENJPA-2174: Applied Helen Xu's patch to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342086 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 23:21:47 +00:00
Heath Thomann
b3f3418052 OPENJPA-2139: Apply my lastest patch, which includes contributions added by Rick and Mark.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342074 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 22:21:40 +00:00
Heath Thomann
87f7708cf2 OPENJPA-2118: Provide fix to avoid possible 'division by zero' error.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1342070 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 21:46:40 +00:00
Heath Thomann
e0793ab046 OPENJPA-1974: Applied to 2.1.x Rick's changes from trunk (2.2.x)
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1340872 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 00:02:09 +00:00
Heath Thomann
47e5d28034 OPENJPA-2132: Applied to 2.1.x Dianna's changes from 2.2.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1340765 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 16:26:25 +00:00
Albert Lee
6c2fba48fe OPENJPA-2199 - If inverse relation is removed (nulled out) when commit, attempt to find the target type from initialized object in the state manager to complete the update graph for foreign key constraint detection between the relationships.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1340122 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:08:41 +00:00
Dianne E. Richards
f80acc3f91 OPENJPA-2175 Fix problem with multiple foreign keys of the same type
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1339677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 16:04:13 +00:00
Heath Thomann
129e6ae069 OPENJPA-2067: Added code, gated by the new DBDictionary.useJDBC4SetBinaryStream prop, to use a JDBC 4.0 version of setBinaryStream.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1337605 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 18:41:15 +00:00
Heath Thomann
7642e7e249 OPENJPA-2133: Fix to allow custom mappings to be found by an applicable class loader.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:44:20 +00:00
Heath Thomann
d5a324f802 OPENJPA-2159: Provide dictionary option for Date rounding - merged Dianne's changes from trunk.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1332307 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 17:28:30 +00:00
Heath Thomann
860954f764 OPENJPA-1376: Updated DBDictionary to remove extraneous 'if' block.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1171254 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 20:15:43 +00:00
Heath Thomann
3a9bd6ad3c OPENJPA-1691: Made update to localizer.properties
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1160888 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:26:48 +00:00
Michael Dick
2748b934f0 OPENJPA-2038: Add tests for tablename including schema
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156339 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:45:29 +00:00
Michael Dick
8682e6b423 OPENJPA-2038: remove hard coded property from testcase
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156338 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:45:22 +00:00
Michael Dick
6941c1254e OPENJPA-2038: Exclude schema name when calculating table name length by default.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1156334 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 19:37:45 +00:00
Heath Thomann
d7f9bcbe92 OPENJPA-758: Added code to check the ClassResolver to get a class loader when attempting to load a ValueHandler or FieldStrategy.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1155109 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 21:21:30 +00:00
Heath Thomann
73cf25744d OPENJPA-1691: Added property for forward compatibility, documented property and migration considerations.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1155013 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 16:57:53 +00:00
Heath Thomann
1dbc7edccb OPENJPA-1376: Backported trunk changes to 2.1.x where possible, made code gated by a system property.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1153990 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 20:01:34 +00:00
Michael Dick
7db9f3dc7e OPENJPA-2010: Check line number and source file before logging duplicate metadata warning
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1151591 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 19:06:24 +00:00
Richard G. Curtis
a4cfa21136 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1148539 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 21:19:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
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