C
- the generic ConnectionParamspublic interface ConnectionProvider<C extends ConnectionParams>
ConnectionParams
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection(C params)
Gets the connection.
|
void |
releaseConnection(Connection con)
Releases connection.
|
Connection getConnection(C params) throws Exception
params
- the ConnectionParamsException
- in case of any errorvoid releaseConnection(Connection con) throws Exception
con
- the jdbc connectionException
- in case of any errorCopyright © 2010-2020 Toolsverse. All Rights Reserved.