Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disadvantages of Hibernate

 
Raminder Singh
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me in understanding what are disadvantages of hibernate?

is it - Complex in learning mapping file having syntax for different relations?

or what can be others?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, just remember, I work for JBoss now, and I love Hibernate.

So the only disadvantage that I would say is that there is a steep learning curve. There are lots to Hibernate, which is why it is so powerful, and to me the best ORM tool out there.

It is obvious from the amount of fud that is out there in the internet. Meaning a lot of what people post of a "seen" disadvantage of Hibernate is usually just due to them not knowing everything that you can do with Hibernate, and that there really is a simple answer in Hibernate to solve their particular issue.

There are two thoughts,
1. you create a very simple, but not as powerful ORM tool that handle most basic cases, which is easy to learn, but you will find in some situations that ORM tool can't handle say composite keys, (This is just an example, I would hope all ORMs handle composite keys)

2. You create an ORM tool that handles 98% of all situations that could happen between Java and data models, databases, etc. Hibernate falls into this category. I find it rare to find a real case where Hibernate can't map, or solve the issue. The main one I know of has to do with Stored Procedures and the limitation within Hibernate, which isn't Hibernate's fault.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic