| Hi, In versions 4.x, setting hibernate.hbm2ddl.auto to update used to detect new columns that needed to be added to existing tables from the mapping. However, in all 5.x versions I have tried, this functionality no longer works. If I drop the table, the table will be created with the newly added column. But new columns are not added on existing tables. If I set hibernate.hbm2ddl.auto to verify, it detects the mismatch just fine, so there is something weird with the update setting with existing tables. I have attached a test case (column-add-test.tar.gz ) that demonstrates the error. After running the test app, there should be a column named newColumn in the htest.my_table table. But the new column never gets created. Thanks! |