mybatis sqlserver @update 问题

String UPDATE_NEWS = "update T_NEWS set TITLE=#{title},CONTENTS=#{content},RDATE=#{date},ISSHOW=#{isShow}" +
",BIGPIC=#{bigPic} " +
" where ID=#{id}";

@Update(UPDATE_NEWS)
int updateNews(CentralNews News);

mapper里接口是这样的

执行后更新是更新到数据库里了,但是报了这个异常

nested exception is org.apache.ibatis.executor.ExecutorException: Error getting generated key or setting result to parameter object. Cause: org.apache.ibatis.reflection.ReflectionException: Could not set property 'id' of 'class com.seu.xu.model.CentralNews' with value 'null' Cause: java.lang.IllegalArgumentException

问题已经解决了,改用了cglib 不使用javassist就可以了。这种错误不知道为什么会发生,update为什么会像insert一样回填id。
版本是mybatis3.3.0默认使用的是javassist

Could not set property 'id' of 'class com.seu.xu.model.CentralNews' with value 'null' Cause: java.lang.IllegalArgumentException
这在说id为空啊,是不是没对应上