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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you need to set-up a cluster with jboss?

1029


What are the different algorithms used for clustering?

1028


Explain the steps in details to load the server object dynamically?

5066


What is the argument type of a programs main() method?

1079


Difference between DurableSubscription and non- DurableSubscription?

2142


Can we sent objects using Sockets?

1097


what is the use of State Factories?

2339


What is colon_pkg_prefixes and what is its use?

2469


What is the immediate superclass of the applet class?

1035


What is ioc concept?

1160


What are the design considerations while making a choice between using interface and abstract class?

1029


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

2207


What is metaspace?

986


Can I map more than one table in a cmp?

1037


When a thread blocks on i/o?

1039