adspace


Why is sessionfactory thread safe?

Answer Posted / Santosh Kumar Bhagat

SessionFactory in Hibernate is thread-safe because it is designed to be a single, long-lived object that can manage multiple threads simultaneously. It creates and configures the Session objects for those threads, ensuring that each Session is independent and does not interfere with others.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is latest hibernate version?

493