问题描述
jpa里注解PersistenceUnit是什么意思
解决方案
@PersistenceUnit(unitName = "entityManagerFactory") private EntityManagerFactory entityManagerFactory; 注入EntityManagerFactoryhttp://jinnianshilongnian.iteye.com/blog/1457224
解决方案二:
http://hi.baidu.com/injava/item/f8452b23a0a2bb8f6f2cc347
时间: 2025-01-17 15:24:46