注意: org.hibernate.StaleStateException:
hibernate当中的错误:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
该错误表明在数据库更新语句的影响的行数为0行,期望行数为0行,其表明,更新语句失败,检查是否是由于删除了不存在的数据导致的