Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List result = Database.getSessionFactory().getCurrentSession().createCriteria(Vypozicka_Citanie.class).setProjection(
- Projections.projectionList()
- .add(Projections.groupProperty("kniha_id"))
- .add(Projections.count("kniha_id"))
- ).list();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement