100101102103104105106
return null; } } private static ORMResult buildResult(final ORMFilter filter, final Collection<Object> collection, final Integer total) { return new ORMResult(total, collection, filter.getPage()); }
108109110111112113114
Object obj = q.uniqueResult(); return (E) obj; } private static ORMResult buildResult(final ORMFilter filter, final Collection<Object> collection, final Integer total) { return new ORMResult(total, collection, filter.getPage()); }