Pages

Sunday, May 8, 2011

Who should use hibernate ?

Hibernate's main role is to reduce sql and jdbc code in the development code, so that developer can easily write business logic.

Also hibernate certainly reduces vendor specific SQL code and help perform database operation using standard Hibernate API. But it should be noted that hibernate does support vendor specific SQL as well.

When should not use hibernate?

Hibernate is not the best solution for data centric applications that only stored procedure in there projects. So to in case of stored procedure, its better to use java middle tier like spring etc. to deal with data obtained and mapped to object, rather than using Hibernate.

Disclaimer

Java Jazzle is for learning and training only. Its not guaranteed that content published is correct. The risk from using it lies entirely with the user. Also the opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

About this blog

This is my tech blog. I write on this blog to save my searching stuff on google. It acts as my log of all the stuff I went through and saves my time, because I don't have to search again and again. Another reason for putting stuff on it was, when I am kind of free, it kind of kills it.