为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】: 1.8
【操作系统】:
【CPU】:
【问题描述】*:Error updating database. Cause: dm.jdbc.driver.DMException: 无效的列
The error may exist in com/central/station/duty/mapper/StarionScheduleMapper.java (best guess)
The error may involve com.central.station.duty.mapper.StarionScheduleMapper.insert-Inline
The error occurred while setting parameters
SQL: INSERT INTO DWZZ_STARION_SCHEDULE ( town_code, town_name, unit_id, unit_name, user_id, user_name, user_phone, buty_date, create_date, state, duty_type ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
Cause: dm.jdbc.driver.DMException: 无效的列
; 无效的列; nested exception is dm.jdbc.driver.DMException: 无效的列
这是怎么回事在数据库可以直接执行但是在代码中就报错
估计是大小写敏感的问题,可以把建表语句 从管理工具里面复制出来 看看