Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Mohan Ramu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!