看异常信息的话,是要你去改变映射配置
should be mapped with insert="false" update="false"先按照这个提示,改了之后再看看效果把