commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/java/org/apache/commons/dbcp DelegatingPreparedStatement.java
Date Wed, 09 Apr 2003 00:47:01 GMT
dgraham     2003/04/08 17:47:01

  Modified:    dbcp/src/java/org/apache/commons/dbcp
                        DelegatingPreparedStatement.java
  Log:
  Added note for related to PR# 17301.  This should be changed when the 
  delegating classes are restored to a pure proxy state.
  
  Revision  Changes    Path
  1.12      +6 -4      jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java
  
  Index: DelegatingPreparedStatement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DelegatingPreparedStatement.java	8 Apr 2003 00:32:22 -0000	1.11
  +++ DelegatingPreparedStatement.java	9 Apr 2003 00:47:01 -0000	1.12
  @@ -266,6 +266,8 @@
            
           // The JDBC spec requires that a statment close any open
           // ResultSet's when it is closed.
  +        // FIXME The PreparedStatement we're wrapping should handle this for us.
  +        // See bug 17301 for what could happen when ResultSets are closed twice.
           List resultSets = getTrace();
           if( resultSets != null) {
               ResultSet[] set = new ResultSet[resultSets.size()];
  
  
  

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


Mime
View raw message