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
If you're using JPA-annotated classes, you can use AnnotationSessionFactoryBean
instead of LocalSessionFactoryBean
, and inject the classes directly into the Spring bean:
com.company.app.common.model.Account
com.company.app.common.model.AccountCategory
com.company.app.common.model.AssetType
com.company.app.common.model.Book
com.company.app.model.AssetTypeCategory
Queries.hbm.xml
org.hibernate.dialect.Oracle10gDialect