Class PoolingDriver

java.lang.Object
org.apache.tomcat.dbcp.dbcp2.PoolingDriver
All Implemented Interfaces:
Driver

public class PoolingDriver extends Object implements Driver
A Driver implementation that obtains Connections from a registered ObjectPool.
Since:
2.0
  • Field Details

  • Constructor Details

    • PoolingDriver

      public PoolingDriver()
      Constructs a new driver with accessToUnderlyingConnectionAllowed enabled.
    • PoolingDriver

      protected PoolingDriver(boolean accessToUnderlyingConnectionAllowed)
      For unit testing purposes.
      Parameters:
      accessToUnderlyingConnectionAllowed - Do DelegatingConnections created by this driver permit access to the delegate?
  • Method Details