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 we can't do in jdbc but can do hibernate?

Answers were Sorted based on User's Feedback



what we can't do in jdbc but can do hibernate?..

Answer / mahesh

There is nothing that hibernate can do but JDBC cannot. Basically, JDBC is the bottom layer of hibernate library. It just gives you some advance functions to perform a database operations. But at the ground level its JDBC which is directly interacting with database.

Is This Answer Correct ?    13 Yes 1 No

what we can't do in jdbc but can do hibernate?..

Answer / dinesh kumar tiwari

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 .

Is This Answer Correct ?    15 Yes 6 No

what we can't do in jdbc but can do hibernate?..

Answer / veerendra kumar

JDBC is one the technoloogy of JSE module in JAVA,but
HIBERNATE is one of the ORM tool to connect to database,its
internally uses JDBC technology providing some extra
functionalities.
1.------using JDBC to connect any database having
drawbacks,if we want to connect to database
Connection,Statement,ResultSet objects must otherwise we
cant connect here manually programmer created reference objects
-------using hibernate no need to create
Connection,Statement,ResultSet objects hibernate will
create, as aprogrammer just using that objects to connect
database,just configuration file need
2.---------using JDBC we unable to store objets directly in
databases, we need serialization for convertiong text to
object viceversa
------------using Hibernate no need directly we cand store
objects in database
3.-------as a programmer need to close con,st,rs objects in JDBC
---------no need, here Hibernate will take care for closing
con,st,rs objects
4.Comare to Hibernate JDBC is fast because its simple java
program not like big program(cfg,hbm files)

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

what is handle?

0 Answers  


cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

0 Answers  


What is private static final long serialVersionUID = 1L;

3 Answers   Google,


Name the class that is used to bind the server object with RMI Registry?

0 Answers  


Describe responsibilities of Activator?

0 Answers  


what is a portable component?

0 Answers  


Explain what is synchronization?

0 Answers  


What are the different methods of identifying an object?

0 Answers  


How to determine SGA site?

0 Answers   Wipro,


Are there books about seam?

0 Answers  


What happens when a thread cannot acquire a lock on an object?

0 Answers  


Why are some of the class and element names counter-intuitive?

0 Answers  


Categories