0

I have one job in my Spring Batch that doesn't use one of the data sources (Oracle Database). However, because I'm using autowire and autoconfigure in Spring Configuration files; that job also made a connection to Oracle when it starts.

I reduce the pool-size to 1 because the data source will not be used. But, I really need to remove that connection also, meaning that I don't want to even have one Inactive and not used connection.

Any idea of how to solve that in Spring Batch?

ypriverol
  • 585
  • 2
  • 8
  • 28

0 Answers0