hibernate.hbm2ddl.auto="update"
works strange. Any database entity.. if not there in database (table in database and column in table) will be created by keeping UPDATE. But if I want to change any existing datatype OR size of any column then it doesn't work. In this way I make a mind set that UPDATE creates thing but does not update. But when I tried to add a constraint (which was not-null) then again it did nothing. No constraint been added.
Please suggest How can I proceed in situation where I can not use CREATE but still I want to change things like datatype of any column OR size of any column. I have gone through many documentation and answers but none of them gave reason.
I am using hibernate 4.0.0 with MySQL-5.6.12..
Thanks in advance.....