From 05c5ad096b3d2e06d55056d0a307aa90c4f1dcbd Mon Sep 17 00:00:00 2001 From: Jeremy Bauer Date: Thu, 19 Mar 2009 02:54:39 +0000 Subject: [PATCH] OPENJPA-878 Committing code and test updates contributed by Donald Woods. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@755819 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java index acf9c65ff..27c83d87c 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java @@ -4190,7 +4190,7 @@ public class DBDictionary */ public void setTimeouts(PreparedStatement stmnt, JDBCFetchConfiguration fetch, boolean forUpdate) throws SQLException { - if (this.supportsQueryTimeout) { + if (supportsQueryTimeout) { int timeout = fetch.getQueryTimeout(); if (forUpdate) { // if this is a locking select and the lock timeout is greater @@ -4216,7 +4216,7 @@ public class DBDictionary */ public void setTimeouts(PreparedStatement stmnt, JDBCConfiguration conf, boolean forUpdate) throws SQLException { - if (this.supportsQueryTimeout) { + if (supportsQueryTimeout) { int timeout = conf.getQueryTimeout(); if (forUpdate) { // if this is a locking select and the lock timeout is greater @@ -4234,7 +4234,7 @@ public class DBDictionary */ public void setQueryTimeout(PreparedStatement stmnt, int timeout) throws SQLException { - if (this.supportsQueryTimeout && timeout >= 0) { + if (supportsQueryTimeout && timeout >= 0) { if (timeout > 0 && timeout < 1000) { timeout = 1000; Log log = conf.getLog(JDBCConfiguration.LOG_JDBC);