注册

Java原生jdbc创建prepareStatement时提示数据类型报错

欢乐马 2025/01/17 317 1

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】: 8.0
【操作系统】:centos7.9
【CPU】: x86
【问题描述】*:
image.png
创建PrepareStatement就报错了,还没到设置参数,该SQL在工具里可正常运行。
select t0.id, t0.process_key, t0.status, t0.assignee_id, t0.apply_detail, t0.created_dept, t0.receivers, t0.created_date, t0.created_by, t0.last_modified_date, t0.last_modified_by from apply t0 where t0.process_key = ? and t0.status in (?,?) and (t0.apply_detail ->> 'meetingRoomId') = ? and (t0.apply_detail ->> 'endDate') >= ? and (t0.apply_detail ->> 'endDate') <= ?
驱动:
<dependency>
<groupId>com.dameng</groupId>
<artifactId>DmJdbcDriver18</artifactId>
<version>8.1.3.140</version>
</dependency>

回答 0
暂无回答
扫一扫
联系客服