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
What are the types of interface used in the java collections? : java collections
can u draw class/object diagram for ATM
What do you understand by synchronization? Why is it important?
What are the types of the main implementing classes in the map interfaces? : java collections
What is the use of hashcode in java ?
What is the enumerator of the java collection framework? : java collections
What are the different types of ways where you can iterate over a list? : java collections
How do I find jre path in windows?
What is deque in the java collections framework? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
what is mean by hasing and maping in java platform and advantage?
What are the different types of classes implemented in the set interfaces? : java collections
What are the differences between the java collection and the java list? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What is java collection? : java collections