【postgresql】PSQLException: An I/O error occurred while sending to the backend.

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】PSQLException: An I/O error occurred while sending to the backend.

【postgresql】PSQLException: An I/O error occurred while sending to the backend.

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

【postgresql】PSQLException: An I/O error occurred while sending to the backend.

解决方案:

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




【postgresql】PSQLException: An I/O error occurred while sending to the backend.

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/1a0c07d971.html