<property name="hibernate.hbm2ddl.auto">update</property>
i can create my database schema, it automatically add properties, constraint, key etc...
But what about UPDATE the database schema?
If i remove some property from my entities, hibernate doesn't remove it, or if i change some constraint, hibernate doesn't touch constraint already created...
So, there is a way to make hibernate really update the database schema?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…