一个实体类拥有有多个子类时,查询出现的异常,参考: http://stackoverflow.com/questions/14132561/hibernate-changing-discriminatorvalue-of-a-subclass-throws-org-hibernate-wrongc/14150629#14150629 http://anshuiitk.blogspot.com/2011/04/hibernate-wrongclassexception.html 改了映射文件之后问题解决了