You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2022. It is now read-only.
According to readme in source.jdbc, there is spring.datasource.init-sql property that, as I understand, should be executed on startup, but it is not happening.
I also can't find the mapping for this property in DataSourceProperties
The text was updated successfully, but these errors were encountered:
jvmlet
changed the title
spring.datasource.init-sql doesn't get executed
jdbcSource: spring.datasource.init-sql doesn't get executed
Nov 16, 2016
I don't know how, but there is really no spring.datasource.init-sql property.
You should use spring.datasource.schema and spring.datasource.data properties for scripts.
They works by default though, if the first one is in the root of classpath with the schema.sql name and the second one with the data.sql name. The property spring.datasource.initialize is true by default.
artembilan
changed the title
jdbcSource: spring.datasource.init-sql doesn't get executed
spring.datasource.init-sql doesn't get executed because it isn't supported
Nov 16, 2016
Uh oh!
There was an error while loading. Please reload this page.
According to readme in
source.jdbc
, there isspring.datasource.init-sql
property that, as I understand, should be executed on startup, but it is not happening.I also can't find the mapping for this property in DataSourceProperties
The text was updated successfully, but these errors were encountered: