Author: jrbauer
Date: Thu Mar 19 02:54:39 2009
New Revision: 755819

URL: http://svn.apache.org/viewvc?rev=755819&view=rev
Log:
OPENJPA-878 Committing code and test updates contributed by Donald Woods.

Modified:
    
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java

Modified: 
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
URL: 
http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java?rev=755819&r1=755818&r2=755819&view=diff
==============================================================================
--- 
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
 (original)
+++ 
openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
 Thu Mar 19 02:54:39 2009
@@ -4190,7 +4190,7 @@
      */
     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 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 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);


Reply via email to