Ok, found the answer finally. This is because I had the spring-developer-tools included. Apparently they trigger a graceful shutdown (via a shutdown hook) of the database resource.
Ok, found the answer finally. This is because I had the spring-developer-tools included. Apparently they trigger a graceful shutdown (via a shutdown hook) of the database resource.