Skip to content
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

Replace deprecated property 'spring.datasource.initialize' #44

Conversation

mpbauer
Copy link
Contributor

@mpbauer mpbauer commented Feb 6, 2021

I've replaced the deprecated 'spring.datasource.initialize' with the recommended 'spring.datasource.initialization-mode' property.

Database Initialization
Basic DataSource initialization is now only enabled for embedded data sources and will switch off as soon as you’re using a production database. The new spring.datasource.initialization-mode (replacing spring.datasource.initialize) offers more
control.

See:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide
https://docs.spring.io/spring-boot/docs/current/reference/html/howto.html#howto-database-initialization

@arey arey merged commit f97f1d4 into spring-petclinic:master Feb 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants