Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 80901 invoked from network); 2 Nov 2003 00:38:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Nov 2003 00:38:35 -0000 Received: (qmail 37161 invoked by uid 500); 2 Nov 2003 00:38:16 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 37111 invoked by uid 500); 2 Nov 2003 00:38:16 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 37098 invoked from network); 2 Nov 2003 00:38:16 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 2 Nov 2003 00:38:16 -0000 Received: (qmail 3577 invoked by uid 50); 2 Nov 2003 00:38:22 -0000 Date: 2 Nov 2003 00:38:22 -0000 Message-ID: <20031102003822.3576.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 24328] New: - PooledConnectionImpl ignores resultsetType and Concurrency if statement pooling is not enabled X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=24328 PooledConnectionImpl ignores resultsetType and Concurrency if statement pooling is not enabled Summary: PooledConnectionImpl ignores resultsetType and Concurrency if statement pooling is not enabled Product: Commons Version: 1.1.0 Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Dbcp AssignedTo: commons-dev@jakarta.apache.org ReportedBy: toddc@concur.com Around line 261 in PooledConnectionImpl, the method preparedStatement fowrards the request to to the real connection. However the resultSetType and Resultsetconcurrency are NOT passed down. /** * Create or obtain a {*link PreparedStatement} from my pool. * @return a {*link PoolablePreparedStatement} */ PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException { if (pstmtPool == null) { return connection.prepareStatement(sql); --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org