Using EntityManager as an autowired field in a Spring Repository

前端 未结 0 1700
清歌不尽
清歌不尽 2021-01-27 00:39

I\'m working on a legacy codebase and saw something unsettling in our custom repositories. EntityManager is autowired into the repos directly. For example:

@Repos         


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