Hibernate Disadvantages
In this section we will discuss hibernate disadvantages.
Hibernate Disadvantages:
Although hibernate gives us lot of flexibility and advantages but some disadvantages are also present. Hibernate reducing these weaknesses in its advance version.
Here we are mentioning some disadvantages -
1. Hibernate has lots of API so in learning these API need much effort.
2. For small project having few tables it is useless to work with hibernate.
3. Sometimes debugging and performance is low but most of time it gives better performance.
4.Since hibernate generates lots of SQL statements in runtime so it is slower than pure JDBC.
5.Hibernate treats everything as object so for a single data you have to retrieve object.
6.Hibernate is not much flexible in case of composite mapping. This is not
disadvantage since understanding of composite mapping is complex.