Deprecated hibernate configuration replaced.