Monday, July 25, 2016

org.postgresql.util.PSQLException: This connection has been closed.

I've recently stumbled across a bunch of JDBC problems boiling down to

    org.postgresql.util.PSQLException: This connection has been closed.

Found out that this is because of setting the socketTimeout connection parameter - jump to http://techblog.scout24.com to find out more...