aspose file tools*
The moose likes Portals and Portlets and the fly likes <mapping package=“x.x.x”/> not working fine in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "<mapping package=“x.x.x”/> not working fine in hibernate" Watch "<mapping package=“x.x.x”/> not working fine in hibernate" New topic
Author

<mapping package=“x.x.x”/> not working fine in hibernate

Mohan Ramu
Greenhorn

Joined: Dec 26, 2012
Posts: 5


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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: <mapping package=“x.x.x”/> not working fine in hibernate