Hibernate 5;org.hibernate.MappingException: Unknown entity: com.my.model.User
I have fixed the same issue with Hibernate 5. There is a problem in this codeConfiguration configuration = new Configuration();
configuration.configure();ServiceRegistry sr = new StandardServiceRegistr
转载
2017-08-14 12:16:01 ·
759 阅读 ·
0 评论