what is the purpose and activity of SessionFactory in
hibernate?
Answer Posted / srikanth
To Create Session object to use hibernate in an
application SessionFactory is required.
When buildSessionFactory()method is called hibernate
decides about various sql statements,that has to be used to
access various tables and creates SeessionFactory object.
This operation is expensive and it should be used only once.
| Is This Answer Correct ? | 54 Yes | 20 No |
Post New Answer View All Answers
Difference between save and saveorupdate?
What is 2 stands for in j2ee?
What is jaap?
What is jetty in java?
What is j2ee server?
What is full form of j2ee?
What is deployer?
What is a web container j2ee?
Why do we use j2ee?
Why java is a platform?
What is a jbutton in java?
What is jradiobutton in java?
What is document root?
Which framework is best for java?
What is difference between javac and java?