You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/09/20 17:22:52 UTC

DO NOT REPLY [Bug 23291] New: - impossible to turn off all validation tests when a validationQuery is present

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23291>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23291

impossible to turn off all validation tests when a validationQuery is present

           Summary: impossible to turn off all validation tests when a
                    validationQuery is present
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dirk.verbeeck@pandora.be


The testOnBorrow should be enabled by default and turned off when
- testOnBorrow == false
- validationQuery == null

The following test can be removed:
        if (validationQuery != null && !testOnReturn && !testWhileIdle) {
            connectionPool.setTestOnBorrow(true);
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org