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 does the web module contain?
Why is java robust?
Which is latest technology in java?
What is javabeans component?
What is cascade delete?
What is DDP?
Where can I find java developers?
What is event and listener in java?
How is java development environment setup?
What is business logic?
Which server is best for java?
Why java is oop language?
Is string a primitive data type in java?
What is a jpanel in java?
What is java ee server?