919920921922923924925926927928929
QueryPos qPos = QueryPos.getInstance(q); qPos.add(groupId); Long count = (Long)q.uniqueResult(); return count.intValue(); } catch (Exception e) { throw processException(e);
22872288228922902291229222932294229522962297
32753276327732783279328032813282328332843285
if (bindName) { qPos.add(name); } Long count = (Long)q.uniqueResult(); return count.intValue(); } catch (Exception e) { throw processException(e);
23382339234023412342234323442345234623472348
qPos.add(groupId); qPos.add(guestbookId); Long count = (Long)q.uniqueResult(); return count.intValue(); } catch (Exception e) { throw processException(e);