commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r756211 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Date Thu, 19 Mar 2009 21:27:13 GMT
Author: psteitz
Date: Thu Mar 19 21:27:13 2009
New Revision: 756211

URL: http://svn.apache.org/viewvc?rev=756211&view=rev
Log:
Javadoc only.  Added setter disclaimer to new setConnectionInitSqls method.

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?rev=756211&r1=756210&r2=756211&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java Thu Mar
19 21:27:13 2009
@@ -840,8 +840,14 @@
     /**
      * Sets the list of SQL statements to be executed when a physical
      * connection is first created.
+     * <p>
+     * Note: this method currently has no effect once the pool has been
+     * initialized.  The pool is initialized the first time one of the
+     * following methods is invoked: <code>getConnection, setLogwriter,
+     * setLoginTimeout, getLoginTimeout, getLogWriter.</code></p>
      * 
-     * @param connectionInitSqls
+     * @param connectionInitSqls Collection of SQL statements to execute
+     * on connection creation
      */
     public synchronized void setConnectionInitSqls(Collection connectionInitSqls) {
         this.connectionInitSqls = null;



Mime
View raw message