482483484485486487488489490491492
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); if (orderByComparator == null) { list = (List<SAuthor>)QueryUtil.list(q, getDialect(), start, end, false);
542543544545546547548549550551552
Session session = null; try { session = openSession(); Query q = session.createQuery(_SQL_COUNT_SAUTHOR); count = (Long)q.uniqueResult(); } catch (Exception e) { throw processException(e);
529530531532533534535536537538539
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); if (!pagination) { list = (List<NotFound>) QueryUtil.list(q, getDialect(), start, end, false);
587588589590591592593594595596597
Session session = null; try { session = openSession(); Query q = session.createQuery(_SQL_COUNT_NOTFOUND); count = (Long) q.uniqueResult(); FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, FINDER_ARGS_EMPTY, count);
637638639640641642643644645646647
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); if (status != null) { qPos.add(status);
807808809810811812813814815816817
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); if (createDate != null) { qPos.add(CalendarUtil.getTimestamp(createDate));
948949950951952953954955956957958
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(userId);
10801081108210831084108510861087108810891090
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); if (orderByComparator == null) { list = (List<Warrant>)QueryUtil.list(q, getDialect(), start, end, false);
12041205120612071208120912101211121212131214
12831284128512861287128812891290129112921293