-->
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.  [ 3 posts ] 
Author Message
 Post subject: Adding Classes
PostPosted: Thu Sep 16, 2004 4:31 am 
Beginner
Beginner

Joined: Mon Aug 02, 2004 7:28 am
Posts: 38
I'm using Hibernate 2.1 and I am getting a "Duplicate class" exeption when I add classes with the same names, but that are in different packages. The problem lies in Mappings.java - addImport(String className, String rename). It uses the unqualified class name as a key in a map. I suppose there are other code that relies on the structure of this, so I'm not sure if I should change it or not. Can someone please assist me in this regard.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 16, 2004 5:00 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
This is covered in the documentation.

<hibernate-mapping auto-import="false"/>


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 16, 2004 5:08 am 
Beginner
Beginner

Joined: Mon Aug 02, 2004 7:28 am
Posts: 38
Thanks Gavin, and thanks for the quick reply


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.