Important properties in hibernate configuration file

There are mainly six important tags for hibernate configuration file. Hibernate configuration file naming convension is generally hibernate.cfg.xml and it is generally placed in the classpath. This can also be configured in the file. If both hibernate.cfg.xml and are found in the classpath then hibernate.cfg.xml overrides file.
The important tags are as follows:



JDBC Configuration


SQL variant generation


Connection pool size


Automatic generation of database schema


Mapping files


Thanks for your patience. If you have any question please write to me.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.