commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <list+apache-comm...@a.leader-bg.com>
Subject Infinite loop on invalid validation SQL query
Date Tue, 31 Dec 2002 04:20:21 GMT
In addition to my previous email, I would suggest modifying 
BasicDataSource.createDataSource() to not validate on "" (empty string).

        if (validationQuery != null && validationQuery.length != 0) {
            connectionPool.setTestOnBorrow(true);
        }


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


Mime
View raw message