### Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字

Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字

原因:

"deleteByIds" parameterType="string">
        update  Menu
            set IsActive='0'
        where MenuID in
        "array" item="MenuID" open="(" close=")" separator=",">
            #{MenuID,jdbcType=VARCHAR}
        
    
---------------------
parameterType="string"> 定义传入的类型是String[],实际上我传入的类型Integer[]

转载于:https://www.cnblogs.com/feiZhou/p/9344152.html

你可能感兴趣的:(### Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字)