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
|
|