1097 Commits

Author SHA1 Message Date
Heath Thomann
25ac722fbc OPENJPA-2324: Removed commented out println's.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1436521 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 18:07:32 +00:00
Heath Thomann
471af4c094 OPENJPA-2324: Option to express literal in query string directly into generate SQL - applied Albert's patch to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1436150 13f79535-47bb-0310-9956-ffa450edef68
2013-01-21 03:16:21 +00:00
Albert Lee
d3380bdb51 OPENJPA-2236 - back port from 2.2.x to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1430543 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 21:12:49 +00:00
Heath Thomann
302e33b6c1 OPENJPA-2235: READ_UNCOMMITTED setting for the fetch plan isolation level is ignored in DB2Dictionary - applied Helen Xu's patch to 2.1.x.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1426348 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 22:13:44 +00:00
Heath Thomann
06ebc55e52 OPENJPA-2289: Applied Albert's patch to 2.1.x
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1415398 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 21:50:49 +00:00
Albert Lee
4c8ecb3d73 OPENJPA-2247 Complete fix for 1x1 bi and mx1 uni relationships of the described problem.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1392660 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 22:15:38 +00:00
Jody Grassel
43c7eed360 OPENJPA-2149: Restore: Criteria.function adds wrong cats to parameters making it unusable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384574 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:30:02 +00:00
Jody Grassel
5a05dfbb9e OPENJPA-2221: Remove System.out.println() from DBDictionary
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384464 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:39:33 +00:00
Jody Grassel
f75a9b4375 OPENJPA-2149: Revert Changes
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1384462 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:37:15 +00:00
Jody Grassel
a40e5ed39a OPENJPA-2149: Criteria.function adds wrong casts to parameters making it unusable
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1376627 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 18:15:30 +00:00
Albert Lee
17ecb7a338 OPENJPA-2242 - Extends procedure call parameter String cast length if value length is greater than the default length
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1371268 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:01:30 +00:00
Dianne E. Richards
f0646a15fc OPENJPA-2221 Fix result of value mapping strategy
git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1355034 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 14:58:23 +00:00
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