How do you configure the Hibernate class mappings of class org.springframework.orm.hibernate3.LocalSessionFactoryBean in the Spring application context? I want to move the sess
As a slight variation on skaffman's answer, I used property packagesToScan of class AnnotationSessionFactoryBean to avoid listing all of the individual model class names:
com.company.app.common.model
Queries.hbm.xml
org.hibernate.dialect.Oracle10gDialect
I learned about this property from the excellent book Spring in Action, Third Edition.