public User get(Long userId) {
User user = (User) getSqlMapClientTemplate().queryForObject("getUser", userId);
if (user == null) {
log.warn("uh oh, user not found...");
throw new ObjectRetrievalFailureException(User.class, userId);
} else {
List roles = getSqlMapClientTemplate().queryForList("getUserRoles", user);
user.setRoles(new HashSet<Role>(roles));
}