Functional Hibernate configuration.