java - how to update sql table from entity class? -


i changed of entity classes. added more columns , changed of column names. want learn how can update sql tables according these entities or how can re-create these tables entity classes.thanks help.

add line in hibernate mapping:

<property key="hibernate.hbm2ddl.auto">create</property> 

but app recreate table each time start app.

also can read chapter


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -