摘要:
会出现下面这样的错一般是配置文件中的mapping和映射文件中的package路径或者class中的name路径不一致org.hibernate.MappingException: Unknown entity: com.zh.hibernate.joinedsubclass.Student at ... 阅读全文
摘要:
Person大类的映射文件配置1 2 3 4 5 6 7 8 9 10 11 12 13 ... 阅读全文
摘要:
org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.zh.hibernate.subclass.Person a... 阅读全文