Answers

Question and Answer:

  Home  JBoss

⟩ Is the Session Factory Thread safe?

Yes: that is many threads can access it cuncurrentely and request for sessions. It holds cached data that has been read in one unit of work and may be reused in a future unit of work. Good practice is to create it when the application is initialized.

 165 views

More Questions for you: