错误如下:
java.lang.RuntimeException: java.sql.SQLException: Cannot set cid: incompatible types. Query: select * from t_book where 1=1 and cid = ? order by orderBy limit ?,? Parameters: [922E6E2DB04143D39C9DDB26365B3EE8, 0, 12]如何解决这个问题?
weixin_43871059的博客周一学习了ssm框架,执行的时候一个SQL语句报错,但其他都可以执行 这个是我的sql代码 <update id="update" parameterType="lms.entity.Book"> UPDATE book SET name=#{name}, ...
鲨瓜2号的博客 } /*查询:只返回一条数据*/ public static T queryForOne(Connection conn, Class tClass, String sql, Object... args) { BeanHandler beanHandler = new BeanHandler(tClass); T t = null; try { t = runner....