Hibernate question hbm2ddl.auto possible values and what they do

Posted by Suzan on Stack Overflow See other posts from Stack Overflow or by Suzan
Published on 2009-01-13T06:40:48Z Indexed on 2010/06/05 16:02 UTC
Read the original article Hit count: 272

Filed under:
|

I really want to know more about the update, export and the values that could be given to hbm2ddl.auto.
I need to know when to use the update and when not? And what is the alternative?

These are changes that could happen over DB:

  • New tables
  • new columns in old tables
  • columns deleted
  • data type of a column changed
  • a type of a column changed it attributes
  • tables have been dropped
  • values of a column has changed

In each case what is the best solution?

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about hbm2ddl