Thread interruption and concurrent close

Pavel Rappo pavel.rappo at gmail.com
Tue May 13 18:27:29 UTC 2025


Is it specified how JDBC methods should react to thread interruption
and concurrent closure of the connection?

As a JDBC user, I'm trying to figure out my best course of action in
the following scenario. A statement has been executing for a while
when the application shutdown hook starts. The hook should quickly
shut down everything and return.

-Pavel


More information about the jdbc-spec-discuss mailing list