My stack: Spring Boot 1.4.2 + Spring Data + PostgreSQL I want to autogenerate my schema migration. I run my app with the arguments -Dspring.jpa.hibernate.ddl-auto=update -Dspring.jpa.generate-ddl=true -Dspring.jpa.show-sql=true -Dlogging.level.org.hibernate=DEBUG If I set ddl-auto to create, I properly see in the logs all the create table and alter table statements. When using ddl-auto=update, nothing is logged. Digging into the implementation, I see there is no statement logging implemented in SchemaMigratorImpl. I would expect that enabling show-sql would actually log the alter table sql statements from the migration. Could this be solved ? |