Friday, April 1, 2011

Disadvantages of Hibernate

  1. Steep learning curve.
  2. Use of Hibernate is an overhead for the applications which are :(1)simple and use one database that never change. (2)need to put data to database tables, no further SQL queries(3)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.

No comments:

Post a Comment