【TDengine 使用环境】
生产环境 /测试/ Poc/预生产环境
【TDengine 版本】
3.6.3 WS驱动(3.6.3)
【操作系统以及版本】
NAME=“CentOS Linux”
VERSION=“7 (Core)”
ID=“centos”
ID_LIKE=“rhel fedora”
VERSION_ID=“7”
PRETTY_NAME=“CentOS Linux 7 (Core)”
ANSI_COLOR=“0;31”
CPE_NAME=“cpe:/o:centos:centos:7”
HOME_URL=“https://www.centos.org/”
BUG_REPORT_URL=“https://bugs.centos.org/”
CENTOS_MANTISBT_PROJECT=“CentOS-7”
CENTOS_MANTISBT_PROJECT_VERSION=“7”
REDHAT_SUPPORT_PRODUCT=“centos”
REDHAT_SUPPORT_PRODUCT_VERSION=“7”
【部署方式】容器/非容器部署
容器
【集群节点数】
单机
【集群副本数】
【描述业务影响】
mybatis plus 插入报错:
Error updating database. Cause: java.sql.SQLException: TDengine ERROR (0x118): (0x118):Invalid parameters
The error may exist in com/lute/iot/device/common/domain/mapper/ThingModelMessageMapper.java (best guess)
The error may involve com.lute.iot.device.common.domain.mapper.ThingModelMessageMapper.insert-Inline
The error occurred while setting parameters
SQL: INSERT INTO thing_model_message ( msg_id, device_id, product_id, tbname, uid, type, ip, code, data, ts ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
Cause: java.sql.SQLException: TDengine ERROR (0x118): (0x118):Invalid parameters
; uncategorized SQLException; SQL state ; error code [280]; TDengine ERROR (0x118): (0x118):Invalid parameters
有字段为null就会这样,另外希望异常可以抛出来,那个值非法
【问题复现路径/shan】做过哪些操作出现的问题
【遇到的问题:问题现象及影响】
【资源配置】
【报错完整截图】



