There are following Disadvantages of Hibernate :-
- Since hibernate generates lots of SQL statements at runtime so it is slower than pure JDBC.
- If there are lot of mappings and joins among the tables, then code will be more complex for understanding.
- A lot of effort is required to learn Hibernate. So, not very easy to learn hibernate easily.
- Hibernate does not support some type of queries like inside same table we can not insert mutliple objects using same query.it is supported by JDBC.
- If there are small project with less number of table then we need to setup entire hibernate framework for using.
- In Hibernate everything is returned as a object type.
- Sometimes debugging and performance tuning becomes difficult in Hibernate.