Addresses enhancement issue https://github.com/spring-projects/spring-boot/issues/28918
Adds AbstractJdbcConfiguration to default includes.
Comment From: pivotal-cla
@raviu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@raviu Thank you for signing the Contributor License Agreement!
Comment From: snicoll
@raviu thank you for making your first contribution to Spring Boot.
Comment From: CichonPawel
until now, @DataJdbcTest did not need a dependency to spring-boot-starter-data-jdbc. I think this is a non-intuitive change. Many people will wonder why they got:
Caused by: java.lang.NoClassDefFoundError: org/springframework/data/jdbc/repository/config/AbstractJdbcConfiguration
Comment From: snicoll
slice test annotations can't bring a dependency when they're used. The issue addressed an inconsistency with regards to @DataJdbcTest. If you want to test the JDBC slice of your app and you don't want to use Spring Data, you have to use @JdbcTest.