org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
发送到后端时发生I/O错误。
java.io.IOException: Tried to send an out-of-range integer as a 2-byte value: 34284
尝试将超出范围的整数作为2字节值发送:34284


postgresql数据库的JDBC驱动Q对参数数量是有上限限制的,最大值为32767。

解决方案:
切分一下代码中参数的数量,分成多次查询,结果在合并。
