| Hi Adithya Indarapu, after the changes to your mapped domain model, having the database the old schema, it's better to use
<property name="hbm2ddl.auto">update</property>
but keep in mind that, depending on the type of changes, after the update the database schema may need some manual cleaning. Another option during development time, is to use the
option. |