I want to execute multiple select statements in the same JDBC query, in order to amortize network latency over a number of related queries, as described in this question:
The accepted answer is to use allowMultiQueries=true
. Unfortunately, this is a feature specific to the MySQL JDBC driver.
What is the equivalent in PostgreSQL JDBC?