yoavs       2004/08/21 14:00:15

  Modified:    dbcp/src/java/org/apache/commons/dbcp
                        DelegatingPreparedStatement.java
                        DelegatingStatement.java
  Added:       dbcp/xdocs release-notes-1.2.2.xml
  Log:
  Addressed bugzilla 28007, added release notes initial version.
  
  Revision  Changes    Path
  1.23      +10 -1     
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.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- DelegatingPreparedStatement.java  6 Mar 2004 13:35:31 -0000       1.22
  +++ DelegatingPreparedStatement.java  21 Aug 2004 21:00:15 -0000      1.23
  @@ -200,6 +200,15 @@
       public void setNull(int paramIndex, int sqlType, String typeName) throws 
SQLException
       { checkOpen(); try { _stmt.setNull(paramIndex,sqlType,typeName); } catch 
(SQLException e) { handleException(e); } }
   
  +    /**
  +     * Returns a String representation of this object.
  +     *
  +     * @return String
  +     */
  +    public String toString() {
  +     return _stmt.toString();
  +    }
  +
       // ------------------- JDBC 3.0 -----------------------------------------
       // Will be commented by the build process on a JDBC 2.0 system
   
  
  
  
  1.18      +10 -1     
jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingStatement.java
  
  Index: DelegatingStatement.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/dbcp/src/java/org/apache/commons/dbcp/DelegatingStatement.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- DelegatingStatement.java  6 Mar 2004 13:35:31 -0000       1.17
  +++ DelegatingStatement.java  21 Aug 2004 21:00:15 -0000      1.18
  @@ -293,6 +293,15 @@
       public int[] executeBatch() throws SQLException
       { checkOpen(); try { return _stmt.executeBatch(); } catch (SQLException e) { 
handleException(e); return null; } }
   
  +    /**
  +     * Returns a String representation of this object.
  +     *
  +     * @return String
  +     */
  +    public String toString() {
  +     return _stmt.toString();
  +    }
  +
       // ------------------- JDBC 3.0 -----------------------------------------
       // Will be commented by the build process on a JDBC 2.0 system
   
  
  
  
  1.1                  jakarta-commons/dbcp/xdocs/release-notes-1.2.2.xml
  
  Index: release-notes-1.2.2.xml
  ===================================================================
  <?xml version="1.0"?>
  <!--
     Copyright 2004 The Apache Software Foundation
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
  -->
  <document>
     <properties>
        <title>Release notes for Commons-DBCP 1.2.2</title>
        <author email="[EMAIL PROTECTED]">Commons Documentation Team</author>
        <revision>$Id: release-notes-1.2.2.xml,v 1.1 2004/08/21 21:00:15 yoavs Exp 
$</revision>
     </properties>
  
     <body>
       <section name="Release notes for Commons-DBCP 1.2.2">
         <p>DBCP 1.2.2 is a maintenance release.</p>
       </section>
       <section name="Changelog">
         <ul>
           <li>30721: typo in package.html.</li>
           <li>26062: better messages and docs for LoginTimeout 
UnsupportedOperationException.</li>
           <li>28007: added toString() methods to DelegatingStatement and 
DelegatingPreparedStatment.</li>
         </ul>
       </section>
    </body>
  </document>
  
  
  
  

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

Reply via email to