-->
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 on merging Hibernate mappings
PostPosted: Fri May 11, 2007 5:49 pm 
Newbie

Joined: Fri Apr 27, 2007 3:18 pm
Posts: 1
Hibernate Version: 3.x

Problem statement:

I have 2 projects that were developed separately and that used Hibernate as the persistence mechanism. They used the same class name e.g., Task, but were of course in different packages.
Later on it was decided to integrate these 2 projects. But Hibernate complained that there was more than 1 hibernate class with the same name, i.e., it was not looking at the fully qualified package name.
I tried the auto-import="false" option and then it complained about not finding the Task class, when it was referenced.

Question
Is there a "best-practice" on how to integrate 2 existing hibernate projects with just 1 hibernate configuration file, without changing the existing class names?


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.