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.  [ 1 post ] 
Author Message
 Post subject: Question regarding duplicate import exception
PostPosted: Thu Dec 15, 2005 11:09 pm 
Beginner
Beginner

Joined: Wed Aug 25, 2004 10:27 pm
Posts: 21
Location: Indonesia
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp


Hibernate version: 3.0.5


Name and version of the database you are using: SQL Server 2000


Hi all,

I try to add class mapping at runtime by using Configuration.addClass(), but when I try to add two classes from different package but with the same name it produces duplicate import exception, here's my classes :

Class 1 : com.farbeyond.ejb.admin.model.Branch
Class 2 : com.farbeyond.ejb.research.model.Branch

Is there any way to overcome this problem without having to change the class name ? Because I don't have any access on those classes.

Any help would be greatly appreciated.


Regards,


Setya


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

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.