{Uki's tech notes}
This notebook is a collection of code snippets and technical "how to" instructions.
Pages
Welcome
Julia
AI
Android
Java
Python
Jypyter
Conda
Linux/UNIX
LinkedIn
Medium articles
Uki's personal blog
Search This Blog
How to fetch total record count using Hibernate Criteria
by: Zainab Aziz
Criteria criteria = getSession().createCriteria(
getReferenceClass()
);
criteria.setProjection(Projections.projectionList().add(Projections.countDistinct(
"id"
))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment