A connection provider that uses an Apache commons DBCP connection pool.
To use this connection provider set:
hibernate.connection.provider_class org.hibernate.connection.DBCPConnectionProvider
Supported Hibernate properties:
hibernate.connection.driver_class
hibernate.connection.url
hibernate.connection.username
hibernate.connection.password
hibernate.connection.isolation
hibernate.connection.autocommit
hibernate.connection.pool_size
hibernate.connection (JDBC driver properties)
All DBCP properties are also supported by using the hibernate.dbcp prefix. |