what is the purpose and activity of SessionFactory in
hibernate?
Answer Posted / rajan
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 ? | 8 Yes | 7 No |
Post New Answer View All Answers
What is a gui in java?
Is string a primitive data type in java?
What is the J2EE module?
What is java servlet container?
What is meant by j2ee?
What is distributed application?
What is application component provider?
What is the use of method saveorupdate()?
What is java ee used for?
What do you understand by business logic?
What is initialization parameter?
What is client-certificate authentication?
What does enterprise javabeans module contain?
Is java is fully object oriented?
What is group?