We can add mapping in the hibernate.cfg.xml as <!-- mapping files --> <mapping resource="org/hibernate/auction/Item.hbm.xml"/>
However I am using hibernate.properties and not the cfg.xml. If I want to add the same mapping in the properties file , how can I do that? (I do not want to do that using new Configuration().addResource("Item.hbm.xml") method ).
Help please !
posted 8 years ago
See here what you can configure with Hibernate properties. Mapping files are not in the list.