ConnectionCreator implementors.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Properties | |
| private final String | |
| private final Integer | |
| private final ServiceRegistryImplementor | |
| private final ValueHolder | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | BasicConnectionCreator(ServiceRegistryImplementor serviceRegistry, String url, Properties connectionProps, boolean autocommit, Integer isolation, String initSql)
|
| Modifier and Type | Method and Description |
|---|---|
| protected JDBCException | |
| public Connection | |
| public Properties | |
| public String | getUrl()
Implements org. |
| protected abstract Connection |
| autoCommit | back to summary |
|---|---|
| private final boolean autoCommit | |
| connectionProps | back to summary |
|---|---|
| private final Properties connectionProps | |
| initSql | back to summary |
|---|---|
| private final String initSql | |
| isolation | back to summary |
|---|---|
| private final Integer isolation | |
| serviceRegistry | back to summary |
|---|---|
| private final ServiceRegistryImplementor serviceRegistry | |
| simpleConverterAccess | back to summary |
|---|---|
| private final ValueHolder<SQLExceptionConversionDelegate> simpleConverterAccess | |
| url | back to summary |
|---|---|
| private final String url | |
| BasicConnectionCreator | back to summary |
|---|---|
| public BasicConnectionCreator(ServiceRegistryImplementor serviceRegistry, String url, Properties connectionProps, boolean autocommit, Integer isolation, String initSql) | |
| convertSqlException | back to summary |
|---|---|
| protected JDBCException convertSqlException(String message, SQLException e) | |
| createConnection | back to summary |
|---|---|
| public Connection createConnection() Implements org. Doc from org. Create a
| |
| getConnectionProperties | back to summary |
|---|---|
| public Properties getConnectionProperties() Exposed for testing purposes only. | |
| getUrl | back to summary |
|---|---|
| public String getUrl() Implements org. Doc from org. Obtain the URL to which this creator connects. Intended just for informational (logging) purposes. | |
| makeConnection | back to summary |
|---|---|
| protected abstract Connection makeConnection(String url, Properties connectionProps) | |