-->
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: Dynamic column mapping
PostPosted: Tue Feb 27, 2007 6:41 am 
Newbie

Joined: Tue Feb 27, 2007 5:26 am
Posts: 3
Hibernate version: 3.0.2

Is there anyway to dynamically map the column names of a table into attributes of the pojo/hbm in hibernate at runtime?

Let me elaborate the problem. We have a db table where new columns to be added frequently. How to handle it in hibernate without changing the code? Ie; how hibernate knows a new column has been added to a table without modifying pojo/hbm everytime? Is there any dynamic way to handle the mapping at runtime?

Thanks,
Krishna


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 06, 2007 5:28 am 
Newbie

Joined: Tue Feb 27, 2007 5:26 am
Posts: 3
Hi All,

Any update on this?

Thanks,
Krishna


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.