public class PoolConnectionAccessor extends CommonConnectionAccessor
| Constructor and Description |
|---|
PoolConnectionAccessor(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory,
Properties paramProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Connection |
getConnection()
Get a new connection that must be closed by the caller
|
doWithConnectionpublic PoolConnectionAccessor(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory,
Properties paramProperties)
throws SQLException
SQLExceptionpublic void dispose()
dispose in interface ConnectionAccessordispose in class CommonConnectionAccessorpublic Connection getConnection() throws SQLException
CommonConnectionAccessorgetConnection in class CommonConnectionAccessorSQLException - if anything goes wrongCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.