Powered by Blogger.

Disadvantages of Hibernate

>> Sunday, March 20, 2011

The main disadvantages of Hibernate is given in detail.

1) Steep learning curve.

2) Use of Hibernate is an overhead for the applications which are :

simple and use one database that never change
need to put data to database tables, no further SQL queries
there are no objects which are mapped to two different tables
Hibernate increases extra layers and complexity. So for these types of applications JDBC is the best choice.

3) Support for Hibernate on Internet is not sufficient.


4) Anybody wanting to maintain application using Hibernate will need to know Hibernate.

5) For complex data, mapping from Object-to-tables and vise versa reduces performance and increases time of conversion.

6) Hibernate does not allow some type of queries which are supported by JDBC. For example It does not allow to insert multiple objects (persistent data) to same table using single query. Developer has to write separate query to insert each object.

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.