The following advantages of hibernate are
- Hibernate is data base independent, same code will work for all data bases like ORACLE,MySQL ,SQLServer etc.
- High Performance
- Development fast in case of Hibernate because you don't need to write queries.
- Automatic primary key generation
- In the xml file you can see all the relations between tables in case of Hibernate. Easy readability.
- Hibernate Supports automatic versioning of rows but JDBC Not.