Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance of Hibernate vs OJB

 
Payam Fard
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Is Hibenrate better than OJB as far as performance is concerned or OJB is better? Which one generates more efficient SQL code?

Any doucmentation or article that would compare these two for performance would be appreciated.

Thanks,
Payam.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All performance benchmarks are flawed, so its hard to say. Hibernate do make the bold claim that they have the fastest ORM tool around - and they seem to be offering a cash prize to anyone who can beat their Hibernate figures with another tool. What I can tell you is Hibernate is fast enough for the applications I've used it on. If performance is a definite requirement though - you are more likely to move some of the application logic into the DB layer itself with Stored Procedures, in which case good old JDBC is all you need.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic