When to use Hibernate?

Posted by Ramo on Stack Overflow See other posts from Stack Overflow or by Ramo
Published on 2010-06-08T06:30:44Z Indexed on 2010/06/08 7:12 UTC
Read the original article Hit count: 221

Filed under:
|

Hi All,

I was asked in an interview this question so I answered with the following:

-Better Performance: - Efficient queries. - 1st and 2nd level caching. - Good caching gives better scalability. - Good Database Portability: - Changing the DB is as easy as changing the dialect configuration. - Increased Developer Productivity: - Think only in object terms not in query language terms.

But I also feel that systems fall in one of the below categories, and Hibernate may not be suited for all these cases, I'm interested in your thoughts about this, do you agree with me? please let me know when would use HB in the following case and why.

  • Write Only Systems:
  • Read Only Systems:
  • Write Mostly Systems:
  • Read Mostly Systems:

Regards Ramo

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about orm