请问是配置上出错了吗?
不是实体类上多的那个R的问题.那是我不小心打上去的
需要在hibernate.cfg.xml配置你的表,要加上
<mapping class="XXX.specialBook"/>