方法上面添加分布式事务注解后,使用mybatis-plus的saveBatch报错,数据库为pgsq

如果不加分布式事务则不会报错
具体报错信息为:
org.springframework.jdbc.UncategorizedSQLException:

Error flushing statements. Cause: java.sql.SQLException: java.lang.IllegalStateException: Received resultset tuples, but no field structure for them

Cause: java.sql.SQLException: java.lang.IllegalStateException: Received resultset tuples, but no field structure for them

; uncategorized SQLException; SQL state [null]; error code [0]; java.lang.IllegalStateException: Received resultset tuples, but no field structure for them

展开
收起
jxqqqq 2025-05-19 16:49:09 269 分享 版权
0 条回答
写回答
取消 提交回答

为企业提供高效、稳定、易扩展的中间件产品。

还有其他疑问?
咨询AI助理