Answer Posted / kameshwar
The interface org.hibernate.Criteria represents a query
against a particular persistent class. The Session is a
factory for Criteria instances.
Criteria crit = sess.createCriteria(Cat.class);
crit.setMaxResults(50);
List cats = crit.list();
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the classes in the java collection framework? : java collections
can u draw class/object diagram for ATM
what is mean by hasing and maping in java platform and advantage?
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
my interviewer asked me what technical specification you used how to answer that question
What is deque in the java collections framework? : java collections
What do you understand by synchronization? Why is it important?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What are the different types of ways where you can iterate over a list? : java collections
What is the use of hashcode in java ?
What are the different types of collections views being provided by the map interface? : java collections
What are the types of interface used in the java collections? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What is the enumerator of the java collection framework? : java collections
What is iterator in the java collections framework? : java collections