Advanced Java Question:

Download Job Interview Questions and Answers PDF

What we can not do in jdbc but can do hibernate?

Advanced Java Interview Question
Advanced Java Interview Question

Answer:

There are many thing we can do in hinernate automaticaly by
hibernate tools or seting hibernate properties.some I
giving below:
(1) We can migrate database just change database dielect.
(2)we can used caching
(3)if user do not know ant any SQL languge then they can
use criteria query.
(4)There is one scnerio where SQL query are failed when
want fetch obejct from db but do not know there ID.
Hibernate provide this solution using HSQL.

Download Advanced Java Interview Questions And Answers PDF

Previous QuestionNext Question
In spring bean class uses singleton or prototype?Java is fully object oriented languages or not? Why?