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 is deque in the java collections framework? : java collections
What are the interfaces in java collections? : java collections
What are the main classes of the list interfaces? : java collections
What is the Spring2.5 MVC Navigation flow?
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
my interviewer asked me what technical specification you used how to answer that question
What is the use of the list interface in the java collection? : java collections
What is java collection? : java collections
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
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 ?
What are the different types of ways where you can iterate over a list? : java collections
What is iterator in the java collections framework? : java collections
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
What are the differences between the java collection and the java list? : java collections