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.
4) For complex data, mapping from Object-to-tables and vise versa reduces performance and increases time of conversion.
5) Hibernate does not allow some type of queries which are supported by JDBC.
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
Note: only a member of this blog may post a comment.