topjavatutorial.com
Hibernate Projections - TopJavaTutorial
Projections The Projection class is used in Hibernate to query specific elements. It also provides some build-in aggregate functions like sum, max, min etc. The Projections class provides several static factory methods for obtaining Projection instances. After you get a Projection object, add it to your Criteria object with the setProjection() method. Selecting only […]