当前位置:   article > 正文

【postgresql】PSQLException: An I/O error occurred while sending to the backend._org.postgresql.util.psqlexception: an i/o error oc

org.postgresql.util.psqlexception: an i/o error occurred while sending to th

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。

解决方案:

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




声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/367087
推荐阅读
相关标签
  

闽ICP备14008679号