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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply 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: 4


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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: <mapping package=“x.x.x”/> not working fine in hibernate
 
Similar Threads
modify Portlet Factory Application
size() collection not working in HQL
Doubt in Mapping Associations
Servlet DemoClass is not available
mapping three tables