private final Logger logger = LoggerFactory.getLogger(getClass());
public UserConnectionLog getUserConnectionLogById(final Long userConnectionLogId, Object... params) {
Criteria criteria = createDefaultCriteria(UserConnectionLog.class);
criteria.add(Restrictions.eq("id", userConnectionLogId));
UserConnectionLog userConnectionLog = (UserConnectionLog) criteria.uniqueResult();
return userConnectionLog;
}
public List<UserConnectionLog> findUserConnectionLogsByUserId(final Long userId, Object... params) {
Criteria criteria = createDefaultCriteria(UserConnectionLog.class);