org.hibernate.StaleStateException:Unexpected row count:0 expected:1是什么错误

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/08 12:23:22

org.hibernate.StaleStateException:Unexpected row count:0 expected:1是什么错误

用jdbctemplate,如果查出来的值为空,就会报这个错.推荐直接用jdbc