added hibernate configuration.