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
|
doWithConnection
public PoolConnectionAccessor(org.osgi.service.jdbc.DataSourceFactory dataSourceFactory, Properties paramProperties) throws SQLException
SQLException
public void dispose()
dispose
in interface ConnectionAccessor
dispose
in class CommonConnectionAccessor
public Connection getConnection() throws SQLException
CommonConnectionAccessor
getConnection
in class CommonConnectionAccessor
SQLException
- if anything goes wrongCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.