/** * This method leads to the reasoner being initialized (connecting to the database, * analyzing mappings, etc.). This must be called before any queries are run, i.e. before {@code getConnection}. * */ @Override public void initialize() throws RepositoryException{ initialized = true; try { queryEngine = configuration.loadQueryEngine(); queryEngine.connect(); } catch (Exception e){ throw new RepositoryException(e); } }
/** * This method leads to the reasoner being initialized (connecting to the database, * analyzing mappings, etc.). This must be called before any queries are run, i.e. before {@code getConnection}. * */ @Override public void initialize() throws RepositoryException{ initialized = true; try { queryEngine = configuration.loadQueryEngine(); queryEngine.connect(); } catch (Exception e){ throw new RepositoryException(e); } }