You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2014/01/11 17:56:35 UTC
svn commit: r1557420 - in /commons/proper/dbcp/trunk/doc:
PoolingDataSourceExample.java PoolingDriverExample.java
Author: markt
Date: Sat Jan 11 16:56:35 2014
New Revision: 1557420
URL: http://svn.apache.org/r1557420
Log:
Fix the examples
Modified:
commons/proper/dbcp/trunk/doc/PoolingDataSourceExample.java
commons/proper/dbcp/trunk/doc/PoolingDriverExample.java
Modified: commons/proper/dbcp/trunk/doc/PoolingDataSourceExample.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/PoolingDataSourceExample.java?rev=1557420&r1=1557419&r2=1557420&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/doc/PoolingDataSourceExample.java (original)
+++ commons/proper/dbcp/trunk/doc/PoolingDataSourceExample.java Sat Jan 11 16:56:35 2014
@@ -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
Modified: commons/proper/dbcp/trunk/doc/PoolingDriverExample.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/PoolingDriverExample.java?rev=1557420&r1=1557419&r2=1557420&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/doc/PoolingDriverExample.java (original)
+++ commons/proper/dbcp/trunk/doc/PoolingDriverExample.java Sat Jan 11 16:56:35 2014
@@ -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