acm-bingzi

Resource注解指定bean的名字是 name
@Resource(name = "entityManagerFactory")

PersistenceContext注解指定bean的名字是 unitName
@PersistenceContext(unitName = "entityManagerFactory")

 

分类:

技术点:

相关文章:

  • 2022-01-05
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2021-10-17
  • 2021-09-30
猜你喜欢
  • 2021-11-29
  • 2022-12-23
  • 2021-05-18
  • 2021-09-27
  • 2019-10-07
  • 2021-07-15
相关资源
相似解决方案