Fixed spelling errors; updated pool, dbcp versions to latest releases.
authorPhil Steitz <psteitz@apache.org>
Fri, 15 Apr 2011 15:00:06 +0000 (15:00 +0000)
committerPhil Steitz <psteitz@apache.org>
Fri, 15 Apr 2011 15:00:06 +0000 (15:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk@1092731 13f79535-47bb-0310-9956-ffa450edef68

doc/BasicDataSourceExample.java
doc/ManualPoolingDataSourceExample.java
doc/ManualPoolingDriverExample.java

index d0b9ad1..f5a9316 100644 (file)
@@ -41,14 +41,14 @@ import org.apache.commons.dbcp.BasicDataSource;
 
 //
 // To compile this example, you'll want:
-//  * commons-pool-1.5.4.jar
-//  * commons-dbcp-1.2.2.jar
+//  * commons-pool-1.5.6.jar
+//  * commons-dbcp-1.3.jar (JDK 1.4-1.5) or commons-dbcp-1.4 (JDK 1.6+)
 //  * j2ee.jar (for the javax.sql classes)
 // in your classpath.
 //
 // To run this example, you'll want:
-//  * commons-pool-1.5.4.jar
-//  * commons-dbcp-1.2.2.jar
+//  * commons-pool-1.5.6.jar
+//  * commons-dbcp-1.3.jar (JDK 1.4-1.5) or commons-dbcp-1.4 (JDK 1.6+)
 //  * j2ee.jar (for the javax.sql classes)
 //  * the classes for your (underlying) JDBC driver
 // in your classpath.
@@ -62,7 +62,7 @@ import org.apache.commons.dbcp.BasicDataSource;
 //
 // For example:
 //  java -Djdbc.drivers=oracle.jdbc.driver.OracleDriver \
-//       -classpath commons-pool-1.5.3.jar:commons-dbcp-1.2.2.jar:j2ee.jar:oracle-jdbc.jar:. \
+//       -classpath commons-pool-1.5.6.jar:commons-dbcp-1.4.jar:j2ee.jar:oracle-jdbc.jar:. \
 //       ManualPoolingDataSourceExample
 //       "jdbc:oracle:thin:scott/tiger@myhost:1521:mysid"
 //       "SELECT * FROM DUAL"
index f45af2b..76e1f55 100644 (file)
@@ -38,12 +38,12 @@ import org.apache.commons.dbcp.DriverManagerConnectionFactory;
 // Here's a simple example of how to use the PoolingDataSource.
 // In this example, we'll construct the PoolingDataSource manually,
 // just to show how the pieces fit together, but you could also
-// configure it using an external conifguration file in
+// configure it using an external configuration file in
 // JOCL format (and eventually Digester).
 //
 
 //
-// Note that this example is very similiar to the PoolingDriver
+// Note that this example is very similar to the PoolingDriver
 // example.  In fact, you could use the same pool in both a
 // PoolingDriver and a PoolingDataSource
 //
@@ -56,8 +56,8 @@ import org.apache.commons.dbcp.DriverManagerConnectionFactory;
 // in your classpath.
 //
 // To run this example, you'll want:
-//  * commons-pool-1.5.4.jar
-//  * commons-dbcp-1.2.2.jar
+//  * commons-pool-1.5.6.jar
+//  * commons-dbcp-1.3.jar (JDK 1.4-1.5) or commons-dbcp-1.4 (JDK 1.6+)
 //  * j2ee.jar (for the javax.sql classes)
 //  * the classes for your (underlying) JDBC driver
 // in your classpath.
@@ -71,7 +71,7 @@ import org.apache.commons.dbcp.DriverManagerConnectionFactory;
 //
 // For example:
 //  java -Djdbc.drivers=oracle.jdbc.driver.OracleDriver \
-//       -classpath commons-pool-1.5.4.jar:commons-dbcp-1.2.2.jar:j2ee.jar:oracle-jdbc.jar:. \
+//       -classpath commons-pool-1.5.6.jar:commons-dbcp-1.4.jar:j2ee.jar:oracle-jdbc.jar:. \
 //       ManualPoolingDataSourceExample \
 //       "jdbc:oracle:thin:scott/tiger@myhost:1521:mysid" \
 //       "SELECT * FROM DUAL"
index f758d1c..88b68f5 100644 (file)
@@ -44,14 +44,14 @@ import org.apache.commons.dbcp.DriverManagerConnectionFactory;
 
 //
 // To compile this example, you'll want:
-//  * commons-pool-1.5.4.jar
-//  * commons-dbcp-1.2.2.jar
+//  * commons-pool-1.5.6.jar
+//  * commons-dbcp-1.3.jar (JDK 1.4-1.5) or commons-dbcp-1.4 (JDK 1.6+)
 // in your classpath.
 //
 // To run this example, you'll want:
 //  * commons-collections.jar
-//  * commons-pool-1.5.4.jar
-//  * commons-dbcp-1.2.2.jar
+//  * commons-pool-1.5.6.jar
+//  * commons-dbcp-1.3.jar (JDK 1.4-1.5) or commons-dbcp-1.4 (JDK 1.6+)
 //  * the classes for your (underlying) JDBC driver
 // in your classpath.
 //
@@ -64,7 +64,7 @@ import org.apache.commons.dbcp.DriverManagerConnectionFactory;
 //
 // For example:
 //  java -Djdbc.drivers=oracle.jdbc.driver.OracleDriver \
-//       -classpath commons-pool-1.5.3.jar:commons-dbcp-1.2.2.jar:oracle-jdbc.jar:. \
+//       -classpath commons-pool-1.5.6.jar:commons-dbcp-1.4.jar:oracle-jdbc.jar:. \
 //       ManualPoolingDriverExample \
 //       "jdbc:oracle:thin:scott/tiger@myhost:1521:mysid" \
 //       "SELECT * FROM DUAL"