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


Please Help Members By Posting Answers For Below Questions

What do you understand by actionform?

484


What does java ee stand for?

447


What is isv?

514


What is javaserver pages standard tag library (jstl)?

498


What do you understand by a thin client?

508






What is mean by connection pooling?

547


What does the application client module contain?

498


What is j2ee and j2se?

487


What is java gui?

503


Why class is used in java?

490


How do I become a java developer?

489


What are j2ee concepts?

497


What is j2ee application model?

478


What is j2ee called now?

496


Explain j2ee architecture.

601