public interface DbConnectionFactory
| Modifier and Type | Method and Description |
|---|---|
DbConnection |
createConnection(TransactionalAction transactionalAction)
Creates a connection with a given
TransactionalAction |
void |
releaseConnection(DbConnection connection)
Indicates that the connection is not used anymore
|
DbConnection createConnection(TransactionalAction transactionalAction) throws SQLException
TransactionalActiontransactionalAction - indicates whether or not the factory should
look at active transactions in order to lookup
for already created connectionsTransactionalActionSQLException - when not able to obtain a new connectionvoid releaseConnection(DbConnection connection)
connection - connection to releaseCopyright © 2003–2020 MuleSoft, Inc.. All rights reserved.