@wilkinsona Thanks for the feedback on #27144. I think this is the approach you suggested.
Issue #27193
Comment From: wilkinsona
Thank you, @hpoettker. This is what I had in mind for the Batch side of things in 2.5. For 2.4 things are quite different and I've fixed that in #27193 .
I've realised that the problem's a bit broader as Spring Session JDBC has a similar problem and we can refine the Quartz configuration as well once we've got the necessary detection in place. I'll merge (some of) the changes proposed here – which will take care of #27207 – and then make some changes that build on top of them in separate issues.
Comment From: wilkinsona
@hpoettker Thanks once again for making your first contribution to Spring Boot.
Comment From: wilkinsona
I've merged the Batch-specific parts of the originally-proposed changes in this commit.