Looks like a typical copy/paste error.
Please make a bugzilla issue for it.

-- Dirk

Todd Carmichael wrote:
DBCP Team,
What is the reason that the extended version of prepareStatement in
PooledConnectionImpl that accepts resultSetType and resultSetConcurrency
does not pass those values down to the the real connection object?  I will
pass those values to the connection object IF statement pooling is enabled.
However, if statement pooling is not enabled it does not pass those values:

~ line 257
PreparedStatement prepareStatement(String sql, int resultSetType, int
resultSetConcurrency) throws SQLException {
        if (pstmtPool == null) {
            return connection.prepareStatement(sql);


Thanks. ToddC




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to