• Dave Syer's avatar
    Revert deferred DDL changes and re-oreder database migrations · 74166e77
    Dave Syer authored
    Schema initialization now happens in @PostConstruct (effectively)
    whether it is via the Hibernate EntityManagerFactory or the
    Boot DataSourceInitialization (in addition or instead). The data.sql
    script if it exists is still executed on an event fired from the
    other places, so those tests are passing.
    
    Flyway and liquibase have bean factory post processors (like
    the one they use to order the audit aspect in Spring Data) that
    enforce a dependency on those components from the EntityManagerFactory.
    So Hibernate validation is still happy (and there are 2 tests to
    prove it now as well).
    
    Fixes gh-1022
    74166e77
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...