I find org.springframework.context.ApplicationContextInitializer useful
on startup, ie setting profiles etc. Maybe worth a look.
public class MyApplicationContextInitializer implements
ApplicationContextInitializer {
public void initialize(ConfigurableApplicationContext
applicationContext)
I am sorry to say that I do not have a well-oiled solution for you. The
apps I've written that use DBCP2 do so directly. The Spring Batch I wrote I
have uses plain JDBC. Hopefully someone else here has a workaround for you.
Gary
On Wed, Aug 19, 2020 at 7:20 PM BRUNO MELLONI
wrote:
> I happily u
I happily used DBCP and DBCP2 with Spring for over a decade. I am now trying
to migrate from Java 8 to Java 11 and hit a terrible snag, described below:
* My apps dynamically load the classpath from a tree of folder that
contains many JARs. Yes, I can change this model in the future but