Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

In Java what is the difference between following two statements ? int a[],b; int []a,b;

1 Answers  


This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?

6 Answers  


How can recruiter justified that the candidate is expert in Algorithm and datastructure for Software product development ?

0 Answers  


Why we use NEW operator when we create Object,While in C++ we donot ?

1 Answers  


if 2 is passed as an argument to the method,void GC.Collect then what would be the result?

0 Answers  


they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?

0 Answers   TCS,


Difference between delegates and Events?

0 Answers  


I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.

3 Answers  


4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?

0 Answers   TCS,


write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe

0 Answers  


What is a dialog based program

1 Answers  


Given: (x-2)(x+3)= 100; solve the equation for x using any programing language.

2 Answers   Amazon, Manhattan,


Categories