throw new BadRequestException("clientToken is empty");
}
tokenConjunction.add(eq("clientToken", clientToken));
}
@SuppressWarnings("unchecked")
<BUG>List<String> ids = session.createCriteria(Token.class).add(tokenConjunction).createCriteria("owner").add(accountConjunction).setProjection(property("id")).list();
</BUG>
Set<String> result = new HashSet<>(ids);
return result;
}

throw new BadRequestException("clientToken is empty");
}
tokenConjunction.add(eq("clientToken", clientToken));
}
@SuppressWarnings("unchecked")
List<String> ids = session.createCriteria(Token.class).add(tokenConjunction).createCriteria("owner").add(accountConjunction).setProjection(property("id")).setCacheable(true).list();
Set<String> result = new HashSet<>(ids);
return result;
