Creating a Criteria instance by R4R Team

In The  Hibernate the interface org.hibernate.Criteria represents a query against a particular persistent class. The Session is a factory for Criteria instances.

Below the given code tells us about the above conversation:

Criteria crt = session.createCriteria(Student.class);


List student = crit.list();

Leave a Comment:
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!