[ISSUE] H2 Database Article has confusing mistakes
Luiggi33 opened this issue · comments
Article and Module Links
Spring Boot With H2 Database @ baeldung.com
Spring Boot With H2 Database @ github.com
Describe the Issue
While talking about the database configuration, the example code for the application.properties and application.yaml file include spring.datasource."https://mvnrepository.com/search?q="=jdbc:h2:mem:testdb
or "https://mvnrepository.com/search?q=": jdbc:h2:mem:mydb
. I am fairly certain that this is some kind of typo and it should be spring.datasource.url=jdbc:h2:mem:testdb
and url: : jdbc:h2:mem:mydb
respectfully. This mistake is repeated for multiple code examples in the database configuration section and can be disruptive when not knowing Spring that much
To Reproduce
Not needed
Expected Behavior
The correct property should be used in the example code
Environment (please complete the following information):
- OS: Windows
- Browser Firefox
- Version 121.0
Additional Context
N/A
Thanks @Luiggi33 This is now fixed.