use of org.ehrbase.dao.access.support.DataAccess in project ehrbase by ehrbase.
the class I_DomainAccessTest method buildDomainAccess.
public static I_DomainAccess buildDomainAccess(DSLContext context, TemporaryFolder temporaryFolder, CacheRule cacheRule) throws Exception {
IntrospectService introspectCache = KnowledgeCacheHelper.buildKnowledgeCache(temporaryFolder, cacheRule);
I_KnowledgeCache knowledge = introspectCache.getKnowledge();
return new DataAccess(context, knowledge, introspectCache, KnowledgeCacheHelper.buildServerConfig()) {
@Override
public DataAccess getDataAccess() {
return this;
}
};
}
Aggregations