-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: what is the advantage of Hibernate over jdbc?
PostPosted: Wed May 21, 2008 2:11 am 
Newbie

Joined: Wed May 21, 2008 2:02 am
Posts: 1
Some of the results I got from <a href="http://techfaq360.com/answer.jsp?catId=7&index=6">http://techfaq360.com/answer.jsp?catId=7&index=6</a>

Can any one go to <a href="http://techfaq360.com/answer.jsp?catId=7&index=6">http://techfaq360.com/answer.jsp?catId=7&index=6</a> and add more to it.

thanks
satya


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 10:06 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
The JavaRanch had a very interesting discussion on just this topic:

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=78&t=003738

I agree that we don't always need a framework like Hibernate. And that logic applies to all things. Like, why do you need farmers when you can grow your own food? Why do you need to buy a car from a dealer when you could build one yourself?

Some people think it would be silly to not build a car from scratch, or to buy milk when they could just milk a cow on their own. Those people tend to prefer to just use JDBC and avoid frameworks.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 10:12 am 
Newbie

Joined: Wed May 21, 2008 8:33 am
Posts: 5
Satya,
My opinion is that anybody who wrote JDBC code anywhere from 6months or more time would not ask this question .

If you are working on typical J2EE web applications the advantages are quite evident to you.

For more discussion on the need of JDBC frameworks read expert-on-one J2EE design and Development by Rod Johnson (Wrox pub). It has excellent discussion on JDBC specs.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 10:52 am 
Newbie

Joined: Fri Dec 07, 2007 2:24 pm
Posts: 7
Location: Columbia, MD
Please keep in mind also that Hibernate wraps around JDBC, so it's not one over the other (not an apples to apples comparison).

_________________
Alberto
http://www.linkedin.com/in/aflores


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.