In this chapter, we will cover the following recipes:
Getting the required libraries for hibernate
Creating a hibernate persistent class
Providing an XML-based hibernate mapping
Providing an annotation-based hibernate mapping
Providing a hibernate configuration using an XML file
Providing a hibernate configuration using a properties file
Configuring hibernate programmatically