Use of @OneToMany or @ManyToMany targeting an unmapped class:hibernate映射错误

  hibernate映射异常:Use of @OneToMany or @ManyToMany targeting an unmapped class
  新建了PO以后,要把PO所在的目录加入到Hibernate配置文件中sessionFactory的分析路径当中去!

原文地址:https://www.cnblogs.com/claricre/p/6672553.html