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 ejb module?
What is Document Object Model?
Why is java robust?
Is j2ee a language or framework?
Differentiate between .ear, .jar and .war files.
What is a j2ee module?
What is credentials?
What is api in j2ee?
What is tomcat in j2ee?
What is non primitive data type in java?
Is j2ee a programming language?
What is devops in java?
What is setbounds in java?
Is java procedural or object oriented?
What is container-managed sign-on?