Liquibase + JPA DDL autoupdate

It is obvious how things going to when there are some ddl changes in entity and in the same time some Liquibase executables need to be applied.

The order of exec:

  1. liquibase
  2. JPA

PS in my mind this is the best practice when schema managing with sql scripts: main script describes whole schema and patches containing all the changes. Liquibase is also good but it is hard to use together with

hibernate.hbm2ddl.auto=update
Liquibase + JPA DDL autoupdate

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *

Можно использовать следующие HTML-теги и атрибуты: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>