Advanced Java Question:

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

Tweet Share WhatsApp

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 PDF Read All 24 Advanced Java Questions
Previous QuestionNext Question
In spring bean class uses singleton or prototype?Java is fully object oriented languages or not? Why?