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 hibernate.properties file. If both hibernate.cfg.xml and hibernate.properties are found in the classpath then hibernate.cfg.xml overrides hibernate.properties file.
This tutorial shows how we can call stored procedure in Hibernate API. Prerequisites Hibernate 3.x jars, mysql-connector-java jar, jdk 1.6, MySQL 5.x 1. Create a Store Procedure in MySQL in database cdcol