bloritsch    2002/11/07 19:24:27

  Modified:    datasource/src/java/org/apache/avalon/excalibur/datasource
                        AbstractJdbcConnection.java
  Log:
  back out incomplete functionality.
  
  Revision  Changes    Path
  1.21      +1 -21     
jakarta-avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java
  
  Index: AbstractJdbcConnection.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/datasource/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- AbstractJdbcConnection.java       7 Nov 2002 04:50:15 -0000       1.20
  +++ AbstractJdbcConnection.java       8 Nov 2002 03:24:27 -0000       1.21
  @@ -25,10 +25,6 @@
    * The Connection object used in conjunction with the JdbcDataSource
    * object.
    *
  - * TODO: Implement a configurable closed end Pool, where the Connection
  - * acts like JDBC PooledConnections work.  That means we can limit the
  - * total number of Connection objects that are created.
  - *
    * @author <a href="mailto:bloritsch@;apache.org">Berin Loritsch</a>
    * @version CVS $Revision$ $Date$
    * @since 4.1
  @@ -43,8 +39,6 @@
       protected SQLException m_testException;
       protected long m_lastUsed = System.currentTimeMillis();
   
  -    protected Map m_statements;
  -
       /**
        * @deprecated Use the version with keepAlive specified
        */
  @@ -115,20 +109,6 @@
           try
           {
               m_connection.clearWarnings();
  -
  -            if ( m_statements != null )
  -            {
  -                Iterator it = m_statements.keySet().iterator();
  -                while (it.hasNext())
  -                {
  -                    Object key = it.next();
  -                    Statement statement = (Statement)m_statements.get( key );
  -    
  -                    try { statement.close(); } catch ( SQLException se ) {}
  -    
  -                    m_statements.remove( key );
  -                }
  -            }
           }
           catch( SQLException se )
           {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@;jakarta.apache.org>

Reply via email to