-->
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: Updating Hibernate mapping dynamically at runtime
PostPosted: Sun Oct 23, 2011 5:49 pm 
Newbie

Joined: Sun Oct 23, 2011 5:38 pm
Posts: 1
Hi, is there a way to update the Hibernate mapping dynamically at
runtime? My use case is that I have to run against two versions of the
product - the newer version containing a few extra database fields.
Based on the version I would like to be able to add the extra fields to
the mapping. Is there a way to do this or do I need to create separate
.hbm.xml mapping files for each version?
Thanks.


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.