posted 17 years ago
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 !