-->
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: how do I run v2.1 and v3.0 side by side in the same app?
PostPosted: Wed Mar 30, 2005 10:09 pm 
Newbie

Joined: Fri Mar 18, 2005 6:15 pm
Posts: 3
Location: New York
Can someone please describe to me in detail how I can run these two versions in the same application?

It is stated in the migration guide for Hibernate 3.0 that it is possible. But no details are provided. Do I have to modify anything in the mapping files? What about hibernate.cfg.xml?

Thanks,
Julia.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 30, 2005 11:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
You will need two sets of mapping files since they are not versioned the same (even though they are mostly similar). The libraries have different package naming structure which allows this to occur but having said that you will need to be explicit in class referencing rather than using just an import if both versions are used from the same application class.


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.