I have learned that JDBC
PgBouncer FAQ states that while it does not support
PreparedStatements to be pooled, you can disable them by adding parameter
prepareThreshold=0 into the JDBC connect URL.
This way you keep the benefits of
PreparedStatement for other databases you might connect to in the future but still have a working connection through PgBouncer.