Mein Programm funkioniert zwar, aber irgendwann bekomme ich folgende Exceptions. Es funktioniert erst wieder, wenn ich das Backend neu gestartet habe.
Ich habe schon d.setSuppressClose(true) versucht, aber dann wurden andere Exceptions geworfen.
Java:
Could not get JDBC Connection; nested exception is java.sql.SQLException: Connection was closed in SingleConnectionDataSource. Check that user code checks shouldClose() before closing Connections, or set 'suppressClose' to 'true' / java.sql.SQLException: Connection was closed in SingleConnectionDataSource. Check that user code checks shouldClose() before closing Connections, or set 'suppressClose' to 'true'
Java:
java.sql.SQLException: Connection was closed in SingleConnectionDataSource. Check that user code checks shouldClose() before closing Connections, or set 'suppressClose' to 'true'
Ich habe schon d.setSuppressClose(true) versucht, aber dann wurden andere Exceptions geworfen.