use of lucee.runtime.db.DatasourceConnectionImpl in project Lucee by lucee.
the class Admin method _doVerifyDatasource.
private void _doVerifyDatasource(DataSource ds, String username, String password) throws PageException {
try {
DataSourceManager manager = pageContext.getDataSourceManager();
DatasourceConnectionImpl dc = new DatasourceConnectionImpl(ds.getConnection(config, username, password), ds, username, password);
manager.releaseConnection(pageContext, dc);
} catch (Exception e) {
throw Caster.toPageException(e);
}
}
Aggregations