What is the difference between SessionFactory and session in hibernate?
|1.||There is one SessionFactory object per application||There is one Session object per client|
|2.||Used for creation and management and it is threaded safe||Sessions Session is not threaded safe and give CRUD interface to the mapped classes|
Suggest An Answer
No suggestions avaliable!