org.hibernate.StaleStateException Batch update returned unexpected row count from update [0]; actual row count 0; expected 1 我的问题是配置文件中没有配置action 中name="xxfrom",所以出现这样的错误。