| Package | Description |
|---|---|
| org.beiter.michael.db |
Provides classes to obtain a JDBC database connection, for instance from JNDI or
from a connection pool.
|
| org.beiter.michael.db.propsbuilder |
Provides classes to build the properties required for the JDBC database connection management package.
|
| Modifier and Type | Method and Description |
|---|---|
static Connection |
ConnectionFactory.getConnection(ConnectionProperties poolSpec)
Return a Connection instance from a pool that manages JDBC driver based connections.
|
static DataSource |
DataSourceFactory.getDataSource(ConnectionProperties poolSpec)
Return a DataSource instance from a pool that manages JDBC driver based connections.
|
| Constructor and Description |
|---|
ConnectionProperties(ConnectionProperties properties)
Creates a set of connection properties from an exist set of connection properties, making a defensive copy.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionProperties |
MapBasedConnPropsBuilder.build(Map<String,String> properties)
Initialize a set of connection properties based on key / values in a
HashMap. |
static ConnectionProperties |
MapBasedConnPropsBuilder.buildDefault()
Creates a set of connection properties that use the defaults as specified in this class.
|
Copyright © 2014–2016 Michael Beiter