There
are well known error codes on JDBC operations that can always be
interpreted as
the database shutting down, already down, or a configuration
problem. In this case, we don’t want to keep
the
connection around because we know that subsequent operations will
fail and they
might hang or take a long time to complete. These
error codes can be
configured in the datasource configuration using the
"fatal-error-codes"value on the Connection Pool Parameters. The value is a...