Class DataSourceBuilder
java.lang.Object
org.apache.cayenne.datasource.DataSourceBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
A builder class that allows to build a
DataSource with optional
pooling.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated, for removal: This API element is subject to removal in a future version.Builds a non-pooling DataSource.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.pool(int minConnection, int maxConnections) Deprecated, for removal: This API element is subject to removal in a future version.Turns produced DataSource into a pooled DataSource.static DataSourceBuilderDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
url
Deprecated, for removal: This API element is subject to removal in a future version. -
userName
Deprecated, for removal: This API element is subject to removal in a future version. -
password
Deprecated, for removal: This API element is subject to removal in a future version. -
driver
Deprecated, for removal: This API element is subject to removal in a future version. -
driver
Deprecated, for removal: This API element is subject to removal in a future version. -
pool
Deprecated, for removal: This API element is subject to removal in a future version.Turns produced DataSource into a pooled DataSource. -
build
Deprecated, for removal: This API element is subject to removal in a future version.Builds a non-pooling DataSource. To create connection pool usepool(int, int)method.
-
CayenneDataSource