avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource JdbcConnection.java AbstractJdbcConnection.java
Date Sat, 26 Jan 2002 16:57:42 GMT
leif        02/01/26 08:57:42

  Modified:    src/java/org/apache/avalon/excalibur/datasource
                        JdbcConnection.java AbstractJdbcConnection.java
  Log:
  Added some Javadocs
  
  Revision  Changes    Path
  1.6       +7 -1      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource/JdbcConnection.java
  
  Index: JdbcConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource/JdbcConnection.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JdbcConnection.java	26 Jan 2002 16:00:31 -0000	1.5
  +++ JdbcConnection.java	26 Jan 2002 16:57:42 -0000	1.6
  @@ -25,12 +25,18 @@
    * total number of Connection objects that are created.
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.5 $ $Date: 2002/01/26 16:00:31 $
  + * @version CVS $Revision: 1.6 $ $Date: 2002/01/26 16:57:42 $
    * @since 4.0
    */
   public class JdbcConnection
       extends AbstractJdbcConnection
   {
  +    /**
  +     * @param connection a driver specific JDBC connection to be wrapped.
  +     * @param keepAlive a query which will be used to check the statis of the connection
after it
  +     *                  has been idle.  A null value will cause the keep alive feature
to
  +     *                  be disabled.
  +     */
       public JdbcConnection( final Connection connection, final String keepAlive )
       {
           super( connection, keepAlive );
  
  
  
  1.11      +7 -1      jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java
  
  Index: AbstractJdbcConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/java/org/apache/avalon/excalibur/datasource/AbstractJdbcConnection.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AbstractJdbcConnection.java	23 Jan 2002 15:49:52 -0000	1.10
  +++ AbstractJdbcConnection.java	26 Jan 2002 16:57:42 -0000	1.11
  @@ -29,7 +29,7 @@
    * total number of Connection objects that are created.
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.10 $ $Date: 2002/01/23 15:49:52 $
  + * @version CVS $Revision: 1.11 $ $Date: 2002/01/26 16:57:42 $
    * @since 4.1
    */
   public abstract class AbstractJdbcConnection
  @@ -56,6 +56,12 @@
           this(connection, (oradb) ? "select 1 from dual" : "select 1");
       }
   
  +    /**
  +     * @param connection a driver specific JDBC connection to be wrapped.
  +     * @param keepAlive a query which will be used to check the statis of the connection
after it
  +     *                  has been idle.  A null value will cause the keep alive feature
to
  +     *                  be disabled.
  +     */
       public AbstractJdbcConnection( final Connection connection, final String keepAlive
)
       {
           m_connection = connection;
  
  
  

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


Mime
View raw message