Fix the examples
authorMark Thomas <markt@apache.org>
Sat, 11 Jan 2014 16:56:35 +0000 (16:56 +0000)
committerMark Thomas <markt@apache.org>
Sat, 11 Jan 2014 16:56:35 +0000 (16:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk@1557420 13f79535-47bb-0310-9956-ffa450edef68

doc/PoolingDataSourceExample.java
doc/PoolingDriverExample.java

index 8840aa8..34689dd 100644 (file)
@@ -147,7 +147,7 @@ public class PoolingDataSourceExample {
         // the classes that implement the pooling functionality.
         //
         PoolableConnectionFactory poolableConnectionFactory =
-            new PoolableConnectionFactory(connectionFactory);
+            new PoolableConnectionFactory(connectionFactory, null);
 
         //
         // Now we'll need a ObjectPool that serves as the
index 3a486f6..597e92c 100644 (file)
@@ -163,7 +163,7 @@ public class PoolingDriverExample {
         // the classes that implement the pooling functionality.
         //
         PoolableConnectionFactory poolableConnectionFactory =
-            new PoolableConnectionFactory(connectionFactory);
+            new PoolableConnectionFactory(connectionFactory, null);
 
         //
         // Now we'll need a ObjectPool that serves as the