Dealing with schema upgrades while using Hibernate

Posted by nehagp on Stack Overflow See other posts from Stack Overflow or by nehagp
Published on 2010-03-24T22:21:02Z Indexed on 2010/03/24 22:23 UTC
Read the original article Hit count: 193

Filed under:

I'm using Hibernate as the ORM for my application. I would like to know if there is a good solution to dealing with schema upgrades in my application when these upgrades are done by someone else. For example, I have a set of hbm.xml files and corresponding java classes generated using Hibernate tools. Now in production, everything works fine until the db schema is upgraded (tables/columns may be dropped/added). I do not (my app doesn't) have access to do that so how do I deal with this using Hibernate?

Thanks!

© Stack Overflow or respective owner

Related posts about hibernate