public JDOPOManager() {
super();
}
public Query createQuery(Object o) {
JDOQuery sq = new JDOQuery();
sq.withPrefetch(prefetchOnQuery);
sq.setPOManager(this);
//initialize the fetch plan of the speedo query
sq.setFetchPlan(getFetchPlan());
sq.setQueryManager(queryManager);
sq.setIgnoreCache(ignoreCache);
sq.setLogger(loggerFactory.getLogger(logger.getName() + ".query"));
if (o!= null && o instanceof JDOQueryDefinitionImpl) {
sq.defineWith((JDOQueryDefinitionImpl) o);
}
return sq;
}