275276277278279280281282283284285
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); if (bindFilename) { if (filename != null) {
635636637638639640641642643644645
775776777778779780781782783784785
11351136113711381139114011411142114311441145
15991600160116021603160416051606160716081609
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); if (!pagination) { list = (List<LFFileStorage>) QueryUtil.list(q, getDialect(), start, end, false);
16571658165916601661166216631664166516661667
Session session = null; try { session = openSession(); Query q = session.createQuery(_SQL_COUNT_LFFILESTORAGE); count = (Long) q.uniqueResult(); FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL, FINDER_ARGS_EMPTY, count);
248249250251252253254255256257258
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); if (courseID != null) { qPos.add(courseID.intValue());
664665666667668669670671672673674
Session session = null; try { session = openSession(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); if (courseIDs != null) { for (Integer courseID : courseIDs) {
753754755756757758759760761762763
828829830831832833834835836837838