摘要: 项目本来使用的是SrpingMVC+Hibernate,想要加入Jpa到项目中,常用的功能没问题 但是在Service中要使用EntityManager如下 @PersistenceContext public EntityManager em;// 类似hibernate session //给子 阅读全文
posted @ 2020-05-18 13:25 为乐而来 阅读(3918) 评论(0) 推荐(0) 编辑