I have some hbm.xml files in classpath resource located in src/main/resources maven\'s folder. I used spring\'s LocalSessionFactoryBean to load these files with the followin
Files located in src/main/resources
end up in WEB-INF/classes
when using Maven with a project of type war
(and the resources
directory structure is preserved). So either place your mapping files in src/main/resources/mapping
or use the following configuration:
SystemUser.hbm.xml
SystemCredential.hbm.xml
SystemProvince.hbm.xml
hibernate.dialect=org.hibernate.dialect.Oracle10gDialect