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
What is a java application client?
How does event listener work in java?
How java is reliable?
How many java languages are there?
Is c++ more secure than java?
What is cascade delete?
Is java a web technology?
What is external subset?
What is devops in java?
What are the main components of the j2ee application?
What do you understand by j2ee?
Is python more secure than java?
What is basic authentication?
What is a thin client?
What is multi tier architecture in j2ee?