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?



what are advantages of HQL? what are advantages of Native SQL? what are advantages of Criteria API..

Answer / 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

More Java J2EE AllOther Interview Questions

wnet use DAO design in u r project?

1 Answers   Godrej,


Write a postfix expression to (a*(b+c/d)*d-e)

4 Answers   Adobe,


What are the differences between the java collection and the java list? : java collections

0 Answers  


What is the Spring2.5 MVC Navigation flow?

1 Answers   IBM,


What is the servletcontext listener and what is JspContext and page context pls tell in simple words.

1 Answers   IBM,


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

0 Answers  


Is it Mandatory to map each pojo class variable with table column in Hibernate? Is there any alternative to skip some of those? Thanks in advance...

2 Answers   Span Systems,


Difference between Spring framework and Struts framework?

12 Answers   IBM, L&T, VAM,


How many controlers are there in spring? Plz send me ans

1 Answers   HCL,


which book is the best for preparing for SCWCD 1.5

4 Answers   Google,


What is need of DAO? Write one simple DAO example?

2 Answers   IBM,


what is hibernate ceteria ?

4 Answers   Fidelity,


Categories