Add hibernate configuration.