Hello I\'m building spring-hibernate application. Do i realy need configuration from below ?
Use the docs, Luke!
[...]Example for an AnnotationSessionFactoryBean bean definition:
test.package.Foo
test.package.Bar
Or when using classpath scanning for autodetection of entity classes:
As you can see you have a choice between defining all classes explicitly or only the package for scanning.
does not recognize Hibernate/JPA annotations and hence has no effect.