且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有状态Bean注入无状态Bean,它们是否都将使用EntityManagerFactory的相同实例?

更新时间:2023-12-03 23:01:10

是的,它们将得到相同的一个:在"MY_PU"名称下定义的一个.他们还能去哪家工厂?

Yes, they will get the same one: the one defined under the "MY_PU" name. Which other factory could they get?