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.  [ 5 posts ] 
Author Message
 Post subject: Starting With Hibernate.
PostPosted: Sun Nov 04, 2007 6:15 am 
Newbie

Joined: Sun Nov 04, 2007 6:05 am
Posts: 4
Hi,

I need to get to decision about using a Hibernate in my Company.

What the "Achilles' heel" of using Hibernate (if there is) in any meaning?

The Hibernate really helpful?

Thanks for all.

Ido


Top
 Profile  
 
 Post subject: Starting With Hibernate.
PostPosted: Tue Nov 06, 2007 6:50 am 
Newbie

Joined: Sat Oct 27, 2007 2:36 am
Posts: 1
Location: Pune, India
Hi there,

NHibernate does help a lot. Persistence is the key feature it has. n wats gud about NHibernate is that its flexible and if there is a change in ur database schema its does accomodate changes very well.

Scalability and performance could be an issue that u shud consider.

I am also looking out for some best samples and documentation stuff available for NHibernate.
n if anyone please let me know industry adopted best practices for NHibernate.

Waiting for ur replies.

Thank you very much u al.


Top
 Profile  
 
 Post subject: Re: Starting With Hibernate.
PostPosted: Tue Nov 06, 2007 9:08 am 
Senior
Senior

Joined: Thu Feb 09, 2006 1:30 pm
Posts: 172
Ido wrote:
Hi,

I need to get to decision about using a Hibernate in my Company.

What the "Achilles' heel" of using Hibernate (if there is) in any meaning?

The Hibernate really helpful?

Thanks for all.

Ido


In all honesty I think the "Achilles heel" of NHibernate is that the developers using it have to know what they are doing. NHibernate is a great tool, but if you abuse it, its possible to cause performance or scalability problems. But the tool itself scales and performs really well.

People like to claim NHibernate is a performance problem because they don't know much about it. But to them every level of abstraction is a performance problem. While it is probably true that you could hand optimize everything and achieve better performance without NHibernate it would take a very long time, most people won't do it, and many people aren't even capable of doing it. NHibernate often provides better performance than what you would see out of your standard .NET approach with stored procedures. (That is when things get complicated).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 3:53 pm 
Beginner
Beginner

Joined: Mon Aug 15, 2005 11:38 am
Posts: 28
I agree with jchapman. If your applications need to be performant or work with large amounts of data, you won't get around using SQL Profiler and some other tools for verifying that NHibernate is doing what you want it to do.

That said, even without NHibernate you would not get around doing quite a lot of optimizations like optimizing queries, putting indexes into your DB and other things.

But then, usually you only need to do optimizations for comparably few select queries and tables, which are highly transactional. From my experience NH provides a whole bunch of optimization techniques that you can apply in those select cases such as lazy/eager loading, different fetch types, different caching options, support for storted procs and the like.

For the rest of your app that only requires non-critical persistence, NH works great out of the box and facilitates the development of business logic a lot.

Hope this helps, Christoph


Top
 Profile  
 
 Post subject: And what about support?
PostPosted: Mon Nov 12, 2007 5:49 am 
Newbie

Joined: Sun Nov 04, 2007 6:05 am
Posts: 4

Thanks for all of you. The information is very helpful.
I am still confused about “support”. There are customer supports, or I need be satisfied with forums? (Because there is customer support only for Java)
Someone heard about “LLBLGen Pro”?
Thanks,
Ido


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