-->
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: Hibernate and variable database structure
PostPosted: Wed Aug 02, 2006 9:51 am 
Newbie

Joined: Wed Aug 02, 2006 9:43 am
Posts: 1
Hello,
I work with database with hibernate and I need to be able to change it's structure without recompiling any sources. How can i do it if it is possible?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 10:40 am 
Expert
Expert

Joined: Fri Aug 19, 2005 2:11 pm
Posts: 628
Location: Cincinnati
lots of reflection usage


Changing the database structure would mean you'd have to change your mapping files, and you'd ahve to change the POJOs for said mapping files. You can make an ant task to automate the recompiling of the POJOs, but I'm not too sure how you'd be able to use the new structure in your application

_________________
Chris

If you were at work doing this voluntarily, imagine what you'd want to see to answer a question.


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.