What is the difference between CriteriaQuery and CreateQuery
in Hibernate???? Thanks in advance!!!!!!



What is the difference between CriteriaQuery and CreateQuery in Hibernate???? Thanks in advance!!!!..

Answer / mohanraj

createquery is followed the HQL format of implementation.
createSQLQuery is followed the SQL format of implementation.

Is This Answer Correct ?    12 Yes 1 No

Post New Answer

More Programming Languages AllOther Interview Questions

can any method return type may be constructor , or that method name allow

0 Answers   HCL,


what is woransient key word? how it is used in java

0 Answers   Convergys,


what does mean and stack mean in genral programming?

0 Answers  


How to call static method in Java?

2 Answers   Epoch,


it is a language or tools?

0 Answers  


what are the advantages of sap on other software ?

0 Answers  


hai i like to do some certifications in programming or any other......... am doing my IT third year......... pls guide me...... mail me ur suggestions to ranjithmaharaj@gmail.com...

1 Answers  


what is the certificates in biztalk?

0 Answers  


Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.

0 Answers   Amazon,


Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two

4 Answers  


hi friends please tel me how to handle the recovery manager(All i.e PopUp ,Application Crach ,Object state,etc) in QTP

1 Answers   IBM,


why main() method should not return any value

2 Answers   Accenture,


Categories