Spring injecting SessionFactory or EntityManagerFactory rather EntityManager

前端 未结 0 666
被撕碎了的回忆
被撕碎了的回忆 2021-01-22 04:24

I have my reasons for the switch, but prior I had been injecting the EntityManager as such:

@PersistenceContext(unitName = "accounts.persist         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题