Commit Graph

1049 Commits

Author SHA1 Message Date
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
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
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
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
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
Fay Wang 2ef2640092 OPENJPA-1893: The test case exposes a reserved-word column name problem for Oracle and Sybase with SchemaAction='drop,add'
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040350 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 00:02:46 +00:00
Michael Dick f56cba9777 fixing compiler warnings and minor code reformatting for QueryResultMapping
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1040332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 22:57:25 +00:00
Milosz Tylenda 685ddfecc6 OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - pagination and schema support.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039879 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 13:18:41 +00:00
Albert Lee 2700d1681d OPENJPA-1895 add doPriv to setAccessible call.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1039414 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 15:27:56 +00:00
Michael Dick a0907bfc3f OPENJPA-1897: Add all reserved words to invalid column name set
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1038214 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23 17:29:32 +00:00
Richard G. Curtis 06f8dc4c96 OPENJPA-1895: Minor performance improvement.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 20:44:49 +00:00
Fay Wang 7178dd3f00 OPENJPA-1894: reduce the number of Strings created by SelectImpl.getTableIndex
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1037819 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 18:23:34 +00:00
Milosz Tylenda d748e46040 OPENJPA-1863: Update HSQLDictionary for HSQLDB 2.0 - patch provided by Georgi Naplatanov with slight modifications.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1034728 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 10:56:47 +00:00
Fay Wang 0836fba158 OPENJPA-1762: lock join table when pessimistic scope is set to EXTENDED
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032686 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 20:10:45 +00:00
Michael Dick 3c52abb73d OPENJPA-1877: Detect XMLType column for Oracle and treat as XML
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032646 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 17:33:41 +00:00
Milosz Tylenda 0175a1a2e5 OPENJPA-1864: Fix the class comment.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032321 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07 17:28:54 +00:00
Fay Wang 4b19d0fa4a OPENJPA-1762: lock join table when extended pessimistic scope is used
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1032116 13f79535-47bb-0310-9956-ffa450edef68
2010-11-06 17:24:17 +00:00
Michael Dick 6d423c5b6b OPENJPA-1874: handle Oracle XMLType columns with @Lob annotation
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031648 13f79535-47bb-0310-9956-ffa450edef68
2010-11-05 15:57:26 +00:00
Michael Dick f946f8383b OPENJPA-1870: Check if columnDefinition was provided before overriding blob type.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1031109 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 17:58:00 +00:00
Michael Dick 24e547cdcb OPENJPA-1864: Add db dictionary for MaxDB & alias in JDBCConfImpl.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030579 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 18:07:07 +00:00
Richard G. Curtis 2f6baf7119 OPENJPA-1851: Backing changes out of trunk while we continue to develop this feature in a sandbox.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030479 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 14:51:28 +00:00
Donald Woods eb2bf2acce OPENJPA-1759 Use new DATETIME2 type in MSSQL2008 for new tables with DATE or TIMESTAMP columns, but 3.0 driver still doesn't handle 2.0 created tables with DATETIME columns....
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030235 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 21:28:23 +00:00
Donald Woods 3b3063899b OPENJPA-1764 protect against java.lang.NoClassDefFoundError when being used in an app server but as app managed and the JVM exits quickly from under us
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030183 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:16:21 +00:00
Richard G. Curtis aa9573698b OPENJPA-1868: Fix checkstyle failure.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030178 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 19:03:22 +00:00
Richard G. Curtis be92a72ad7 OPENJPA-1868: Miscellaneous FindBugs suggested performance improvements for openjpa-jdbc.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1030156 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 18:24:12 +00:00
Donald Woods 900304d3c3 OPENJPA-1861 build updates to support using Maven 3.0
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 14:00:35 +00:00
Pinaki Poddar c325e704eb OPENJPA-1821: Defensive thread guard on reparametrization.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 21:25:14 +00:00
Pinaki Poddar 81e1f23a13 OPENJPA-1851: change to more appropriate variable name
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:43:35 +00:00
Pinaki Poddar 54234f6102 OPENJPA-1845: Detect query using IN expression with parameters and exclude from query cache
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028393 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:18:09 +00:00
Fay Wang c3c97f7cf3 OPENJPA-1857: fix the exception to be thrown by OpenJPA when wrong JoinColumn annotation is specified.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028095 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 20:55:00 +00:00
Richard G. Curtis 6a12a3c121 OPENJPA-1312: Fix equals method name.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1028046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 17:21:15 +00:00
Donald Woods 06c1e74358 OPENJPA-1313 Incorrect hashcode()/equals() implementation(s) in RowManagerImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:37:42 +00:00
Donald Woods ce416a8777 OPENJPA-1312 Incorrect hashcode()/equals() implementation(s) in SelectImpl. Patch contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027976 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 14:31:24 +00:00
Donald Woods 582e91b867 OPENJPA-1793 @EmbeddedId class having only one field java.sql.Data. Contributed by Heath Thomann.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027722 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 20:14:15 +00:00
Jeremy Bauer c9bad3efcd OPENJPA-1853 Modified DB2Dictionary to disable auto retrieval of generated keys on iSeries V5R4 and earlier.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027250 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 20:03:01 +00:00
Michael Dick d54088a365 OPENJPA-1847: Use one connection to create schema objects.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1026183 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:09:57 +00:00
Michael Dick 005a18a739 OPENJPA-1841: Use length() function to determine BLOB/CLOB nullity for Oracle.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1024340 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 17:57:04 +00:00