493494495496497498499500501502503
query.append(WallEntryModelImpl.ORDER_BY_JPQL); } String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(groupId);
829830831832833834835836837838839
query.append(WallEntryModelImpl.ORDER_BY_JPQL); } String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(userId);
11721173117411751176117711781179118011811182
15121513151415151516151715181519152015211522
} else { sql = _SQL_SELECT_WALLENTRY.concat(WallEntryModelImpl.ORDER_BY_JPQL); } Query q = session.createQuery(sql); if (orderByComparator == null) { list = (List<WallEntry>)QueryUtil.list(q, getDialect(), start, end, false);
16201621162216231624162516261627162816291630
query.append(_FINDER_COLUMN_GROUPID_GROUPID_2); String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(groupId);
16731674167516761677167816791680168116821683
query.append(_FINDER_COLUMN_USERID_USERID_2); String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(userId);
17291730173117321733173417351736173717381739
query.append(_FINDER_COLUMN_G_U_USERID_2); String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(groupId);
17751776177717781779178017811782178317841785
Session session = null; try { session = openSession(); Query q = session.createQuery(_SQL_COUNT_WALLENTRY); count = (Long)q.uniqueResult(); } catch (Exception e) { throw processException(e);
488489490491492493494495496497498
query.append(MeetupsEntryModelImpl.ORDER_BY_JPQL); } String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(companyId);
826827828829830831832833834835836
query.append(MeetupsEntryModelImpl.ORDER_BY_JPQL); } String sql = query.toString(); Query q = session.createQuery(sql); QueryPos qPos = QueryPos.getInstance(q); qPos.add(userId);