-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Class mapping configuration
PostPosted: Wed Nov 05, 2008 6:58 am 
Newbie

Joined: Tue Oct 28, 2008 11:38 am
Posts: 4
Location: Mannheim, Germany
hibernate.cfg.xml doesn't work properly.

what I am doing wrong?

Code:
<mapping package="de.xxx.yyy.accountingSystem"/>   
          <mapping class="de.xxx.yyy.accountingSystem.Invoice_position"/>
           <mapping class="de.xxx.yyy.accountingSystem.Invoice"/>
           <mapping class="de.xxx.yyy.accountingSystem.Payment_reminder"/>                    
         
      <mapping package="de.xxx.yyy.evidemceSystem"/>      
          <mapping class="de.xxx.yyy.evidemceSystem.Project_hours"/>
...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 06, 2008 8:03 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

what is your problem?
It seems though that you are providing redundant information though. If you are using <mapping package="..."/> you don't have to specifically list the mapped classes.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.