Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
Servlet DemoClass is not available
Doubt in Mapping Associations
mapping three tables
size() collection not working in HQL
modify Portlet Factory Application