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 are advantages of HQL?
what are advantages of Native SQL?
what are advantages of Criteria API?

Answer Posted / ravi verma

find a persisted user by user id which was primary key in
that case. What if we want to search a user by user name,age
or email and none of these attributes is a primary key.
Hibernate provides a query language similar to the standard
SQL to perform operations on the Hibernate objects. The
advantage of using HQL instead of standard SQL is that SQL
varies as different databases are adopted to implement
different solutions,but HQL remain the same as long as you
are within the domain of Hibernate; no matter which database
you are using

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of the set interfaces in the java collections? : java collections

973


What is the enumerator of the java collection framework? : java collections

1044


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

1054


How do I find jre path in windows?

1031


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 ?

2171


my interviewer asked me what technical specification you used how to answer that question

2384


What is an algorithm in java collection framework? : java collections

1068


Which interface does java.util.hashtable implement?

1207


What are the types of interface used in the java collections? : java collections

1045


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

3060


How is hashset maintained in memory by java ?

1165


What do you understand by synchronization? Why is it important?

1071


What is the difference between comparable and comparator in java.util pkg?

1130


What are the different types of classes implemented in the set interfaces? : java collections

1071


What are the main classes of the list interfaces? : java collections

1038