-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document that scripts for database initialization are optional by default and how they can be made mandatory #36176
Comments
We probably need to document this better. You can make the scripts mandatory by configuring |
Thanks for the feedback Correct, I have confirmed that I have confirmed that
About either Just as an observation, take in consideration in indicate explicitly if the
So theoretically at a first glance it seems is mandatory. A clarification about your comment for the Reference documentation is valuable for the community. Thanks for your understanding |
That's a tooling issue. There's no way for the tooling to know what prefixes will work as it depends on the resource loader and any protocol resolvers. |
Thanks for confirmation, I am going to report this situation to STS4 |
Hello
Pls, read the following SO post first
Could be consider to add a new Application Property such as
spring.sql.init.missing.scripts
with enum values such asignore
(as default)error
in case that the expected sql files are not found?To be honest I expected receive a kind of error, but it did not happen. And if the comments on SO post are correct, it is not indicated at 9.3. Initialize a Database Using Basic SQL Scripts
Thanks for your understanding
The text was updated successfully, but these errors were encountered: