JdbcSessionAutoConfiguration may not match when using the auto-configured DataSource by candrews · Pull Request #48552 · spring-projects/spring-boot
JdbcSessionAutoConfiguration is conditional on the DataSource bean which won't exist until after DataSourceAutoConfiguration; therefore, JdbcSessionAutoConfiguration must autoconfigure after DataSourceAutoConfiguration. Signed-off-by: Craig Andrews <candrews@integralblue.com>
wilkinsona
changed the title
JdbcSessionAutoConfiguration after DataSourceAutoConfiguration
JdbcSessionAutoConfiguration may not match when using the auto-configured DataSource
wilkinsona pushed a commit that referenced this pull request
Dec 17, 2025JdbcSessionAutoConfiguration is conditional on the DataSource bean which won't exist until after DataSourceAutoConfiguration; therefore, JdbcSessionAutoConfiguration must auto-configure after DataSourceAutoConfiguration. Signed-off-by: Craig Andrews <candrews@integralblue.com> See gh-48552
This was referenced
Jan 15, 2026This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters