I have many classes in my Hibernate annotation project,
i want to add all those classes in hibernate.cfg.xml.
if i add set of classes like below , it's working fine,
<mapping class="com.infosys.ans.data.model.InbMst"/> <mapping class="com.infosys.ans.data.model.InterfaceAccessTypMst"/> <mapping class="com.infosys.ans.data.model.InterfaceOperTypMst"/> <mapping class="com.infosys.ans.data.model.OutbMst"/> <mapping class="com.infosys.ans.data.model.StsMst"/> <mapping class="com.infosys.ans.data.model.InterfaceMst"/>
to reduce the code , i want to add only package name.
Thanks in advance
|