Changes for AnnotationSessionFactoryBean bean