Chapter 26. Apache Commons DBCP integration

Table of Contents

Description
Including in a project
Usage

Description

This module enables usage of Apache Commons DBCP2 connection pool.

Including in a project

Maven

<dependency>
    <groupId>org.apache.cayenne</groupId>
    <artifactId>cayenne-dbcp2</artifactId>
    <version>4.0.B2</version>
</dependency>

Gradle

compile 'org.apache.cayenne:cayenne-dbcp2:4.0.B2'

Usage

To use DBCP2 pool you need to setup it in DataNode settings in Cayenne Modeler: