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


Please Help Members By Posting Answers For Below Questions

What is attribute what is asant?

502


Where javac is located?

503


Why is java used?

500


What is urn?

513


What is asant?

561






Why is java more secure?

472


What is java web technologies?

487


Is java a high level language?

480


What is mean by connection pooling?

533


What is actionform?

536


J2ee is a container centric architecture. Explain.

501


What is the name of java compiler?

474


What is enterprise information system?

537


Is java safe to download?

479


How many types of modules is defined by j2ee specification?

463