class KieSQLDataSourceLocator extends SQLDataSourceLocatorCDI {

    @Override
    public DataSource lookup( SQLDataSetDef def ) throws Exception {
        return ((AbstractDataSource) runtimeManager.lookupDataSource( def.getDataSource() ) ).getInternalDataSource();
    }

    @Inject public  KieSQLDataSourceLocator( DataSourceDefQueryService queryService,
                                    DataSourceRuntimeManager runtimeManager );

}