jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felip...@apache.org
Subject cvs commit: jakarta-taglibs/dbtags/src/org/apache/taglibs/dbtags/connection CloseConnectionTag.java
Date Fri, 27 Feb 2004 13:54:24 GMT
felipeal    2004/02/27 05:54:24

  Modified:    dbtags/src/org/apache/taglibs/dbtags/connection
                        CloseConnectionTag.java
  Log:
  setting conn to null (see bug 18074)
  
  Revision  Changes    Path
  1.3       +1 -0      jakarta-taglibs/dbtags/src/org/apache/taglibs/dbtags/connection/CloseConnectionTag.java
  
  Index: CloseConnectionTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/dbtags/src/org/apache/taglibs/dbtags/connection/CloseConnectionTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CloseConnectionTag.java	2 Jul 2001 18:19:06 -0000	1.2
  +++ CloseConnectionTag.java	27 Feb 2004 13:54:23 -0000	1.3
  @@ -106,6 +106,7 @@
       try {
         Connection conn = (Connection)pageContext.getAttribute(_connId);
         conn.close();
  +      conn = null;
       } catch (SQLException e) {
         // failing to close a connection is not fatal
         e.printStackTrace();
  
  
  

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


Mime
View raw message