-->
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.  [ 9 posts ] 
Author Message
 Post subject: Development time metrics for Hibernate v/s JDBc-SQL
PostPosted: Fri Jun 25, 2004 10:37 am 
Regular
Regular

Joined: Wed May 05, 2004 3:41 pm
Posts: 118
Location: New Jersey,USA
Hi,

We are evaluating whether we should develop out persistent objects using a framework like hibernate or use JDBC and Data Object and code the same ourselves.

Though the argument is quite mute, does any one have any specific metrics in terms of overall time reduction with Hibernate as against the standard JDBC-SQL.

Thanks,

Anand


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 11:39 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
there might be 1 000 000 posts talking about that here...
i'll advice you not to deal with such tests until you are an expert of concurrency, transaction ....

ORM is NOT a data acces tool! so don't compare it to JDBC, it offers you much more...

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 11:43 am 
Regular
Regular

Joined: Wed May 05, 2004 3:41 pm
Posts: 118
Location: New Jersey,USA
Appreciate your response. I do agree that ORM offers much more than raw data access but for commerical projects, when we need to justify the choice of a framework, two things are asked: 1. Training Needs,2. How much is the developmment time going to come down by using the framework.

If you could point me to some place where I can get the information I asked, i woudlg reatly appreciate that.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 11:52 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
ORM tools don't take away anything from SQL/JDBC, as they allow you full transparent access to the language and API whenever you need. Therefore, your development time _with_ an ORM tool never will be slower than without. Consider the additional features you get using ORM software, and check for each feature if its a) worth using in your scenario and b) how likely will it introduce new problems and c) how hard is it to learn. If the net result looks positive, use it.

My experience tells me that many features an ORM tool can provide have a positive impact on development performanc and personal happyness of the developer (and hopefully the DBA). See my blog entry a few days ago about "Comparing ORM tools", might be related.

http://blog.hibernate.org/cgi-bin/blosx ... ersistence

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 11:54 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
excuse me for my answer, i understood you were talking about performance... sorry
you should talk about transaction and concurrency management that secure you application for example.
You should talk about performance.
You can also say that developpeur will work most of the time on the business and not on the technical aspects.
Hibernate allows you to work in a full OO mind, which allows you to reuse the code.
Developpers must only think object, even for querying, they don't have to be expert in sql for example.

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 11:56 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
oh and last thing:
Quote:
1. Training Needs


you are 100% right, don't hesitate training your guys because even if hibernate simplify your life, it is always possible to make big mistakes if you don't understand how to use it.

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 12:07 pm 
Regular
Regular

Joined: Wed May 05, 2004 3:41 pm
Posts: 118
Location: New Jersey,USA
Chritian

That's a great blog. More than anything, I was looking for a justification to my decision to go with Hibernate (you guys rock..). since I was asked to get some quantifiable metrics on hibernate since it was a new framework, open source(quite ironic don't you think), etc.

As Anthony righly put it developers should be talking objects and not tables and columns.

Thanks for all your inputs.
-Anand


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 28, 2004 1:39 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
anthony wrote:
oh and last thing:
Quote:
1. Training Needs


you are 100% right, don't hesitate training your guys because even if hibernate simplify your life, it is always possible to make big mistakes if you don't understand how to use it.

I just end a project where 1 spend 1 single day solving lecacy mistakes (especially performance issues). Have 1 Hibernate expert in your team is the best solution I know.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 28, 2004 3:50 pm 
Newbie

Joined: Wed May 12, 2004 5:12 pm
Posts: 8
Location: Frankfurt / Germany
I agree with the training as well. This is key to a successful ORM Project.
At least you should have developers in the team who are willing to read a lot before they start coding with a new ORM Tool instead of "hacking straight away and see what happens"


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 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.