Differences between session vs session factory - Hibernate?

后端 未结 7 1628
予麋鹿
予麋鹿 2021-01-31 10:35

Do we have any other differences other than the below? Also please validate whether the below are correct

  1. SessionFactory objects are one per applicati
相关标签:
7条回答
  • 2021-01-31 11:30

    The main difference is that "There will be only one session factory object per hibernate client application. Because the implementation class of SessionFactory interface is singleton Java class".

    0 讨论(0)
提交回复
热议问题