We have a problem with org.springframework.jdbc.datasource.SingleConnectionDataSource
?
We expect that the connection is never closed while the application is running, even if there is no traffic between application and db.
We configured datasource with
<property name="suppressClose" value="true"/>
what should solve the problem.
And the problem is that the connection is closed after about 30-40 minutes of inactivity (when there is no traffic between db and application).
Maybe someone with experience with SingleConnectionDataSource can help how to solve this bug or feature.