spring-boot/spring-boot-autoconfigure
Andy Wilkinson 7d213950ad Never run data.sql scripts if spring.datasource.initialize is false
Previously, the data scripts were always run in response to the
publication of a DataSourceInitializedEvent, irrespective of
spring.datasource.initialize. While the event won't be published by
DataSourceInitializer if spring.datasource.initialize is false, it
will be published if spring.jpa.hibernate.hbm2ddl.auto has been set.

This commit updates DataSourceInitializer's handling of
DataSourceInitializedEvent to only run the data scripts if
spring.datasource.initialize is true.

Fixes #1336
2014-08-06 14:48:26 +01:00
..
src Never run data.sql scripts if spring.datasource.initialize is false 2014-08-06 14:48:26 +01:00
.gitignore Restore test classes 2014-06-01 13:11:25 +01:00
pom.xml Next development version 2014-07-08 02:33:36 -07:00