Package | Description |
---|---|
org.geotools.data.jdbc.datasource |
Modifier and Type | Class and Description |
---|---|
class |
AbstractManageableDataSource
An abstract wrapper created to ease the setup of a
ManageableDataSource , you just have to
subclass and create a close method |
class |
DBCPDataSource
A closeable wrapper around
BasicDataSource |
Modifier and Type | Method and Description |
---|---|
static ManageableDataSource |
DataSourceUtil.buildDefaultDataSource(String url,
String driverName,
String username,
String password,
int maxActive,
int minIdle,
String validationQuery,
boolean cachePreparedStatements,
int removeAbandonedTimeout)
Builds up a default DBCP DataSource that easy to use connection factories can use to setup a
connection pool.
|
static ManageableDataSource |
DataSourceUtil.buildDefaultDataSource(String url,
String driverName,
String username,
String password,
String validationQuery)
Builds up a default DBCP DataSource that easy to use connection factories can use to setup a
connection pool.
|
Copyright © 1996–2019 Geotools. All rights reserved.