Table of Content
In order to configure the Hibernate frameworks, a programmer must create a properties file. This file must be included in the class-path of the program which is using Hibernate. The best method to accomplish this is to place this file inside the application jar file. There are two available types of properties file for Hibernate. Both have the same functionality, however their formats are different.
This file can be copied from a Hibernate distribution, and modified as required. This method is a more career enhancing method to configurate the Hibernate framework since you can claim to your boss that you are using xml technologies. Unfortunately, this is the only difference between the two methods, so choose the one that suits your mood. The following xml document configures Hibernate to connect to the same database as the one given in the properties example.