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
please mail me the interview question based on java/j2ee
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
Should we create system software ( e.g operating system ) in java ?
What is an algorithm in java collection framework? : java collections
What are the queues in the java collection framework? : java collections
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
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
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.?.
What are the differences between the java collection and the java list? : java collections
What are the interfaces in java collections? : java collections
What is iterator in the java collections framework? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
Which sorting algorithm is used by collections.sort() in java ?
What is deque in the java collections framework? : java collections