we are using Hibernate to get Data from a DB. The Problem is that we have sometimes to change our Tables. Infact of that we got several times the Problem that the Database Mapping from Hibernate is not valid with the database.
Can someone give me a hint how to solve that problem?
Simple Example:
Today User Table looks like:
- id
- Name
- Forename
- Adress
- sex
- username
In the Futur it can look like:
- id
- Name
- Forename
- fk_Adress
- sex
- username
- fk_Usergroup
- fk_rightgroup
It's important to hold it easy as possible.
We're using MsSQL and XML Mapping.
Im thankfull for every contructiv Answer.