Class DriverManagerConnectionProviderImpl.PooledConnections.Builder
- java.lang.Object
-
- org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.PooledConnections.Builder
-
- Enclosing class:
- DriverManagerConnectionProviderImpl.PooledConnections
public static class DriverManagerConnectionProviderImpl.PooledConnections.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(org.hibernate.engine.jdbc.connections.internal.ConnectionCreator connectionCreator, boolean autoCommit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverManagerConnectionProviderImpl.PooledConnections
build()
DriverManagerConnectionProviderImpl.PooledConnections.Builder
initialSize(int initialSize)
DriverManagerConnectionProviderImpl.PooledConnections.Builder
maxSize(int maxSize)
DriverManagerConnectionProviderImpl.PooledConnections.Builder
minSize(int minSize)
DriverManagerConnectionProviderImpl.PooledConnections.Builder
validator(ConnectionValidator connectionValidator)
-
-
-
Method Detail
-
initialSize
public DriverManagerConnectionProviderImpl.PooledConnections.Builder initialSize(int initialSize)
-
minSize
public DriverManagerConnectionProviderImpl.PooledConnections.Builder minSize(int minSize)
-
maxSize
public DriverManagerConnectionProviderImpl.PooledConnections.Builder maxSize(int maxSize)
-
validator
public DriverManagerConnectionProviderImpl.PooledConnections.Builder validator(ConnectionValidator connectionValidator)
-
build
public DriverManagerConnectionProviderImpl.PooledConnections build()
-
-