cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emile Salem <esa...@polyprotec.com>
Subject V3.0.2 org.apache.cayenne.access.DataDomain, line 258
Date Wed, 15 Jan 2014 17:05:32 GMT
Hi there,

as a first post to this list, I’d like to ask the following:
why does the DataDomain need to have a dataContextFactory declared in 
its properties for the assignment of its queryCacheFactory to take place, as read on line
258 of org.apache.cayenne.access.DataDomain (3.0.2):

if ((queryCacheFactoryName != null) && (dataContextFactory != null) && (!Util.isEmptyString(dataContextFactory))){
    this.queryCacheFactory = ((QueryCacheFactory)createInstance(queryCacheFactoryName, QueryCacheFactory.class));
}
else{
    this.queryCacheFactory = null;
}
Thanks for your time

ÉMILE SALEM
Software Developer
esalem@polyprotec.com



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message