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 is attribute what is asant?
Where javac is located?
Why is java used?
What is urn?
What is asant?
Why is java more secure?
What is java web technologies?
Is java a high level language?
What is mean by connection pooling?
What is actionform?
J2ee is a container centric architecture. Explain.
What is the name of java compiler?
What is enterprise information system?
Is java safe to download?
How many types of modules is defined by j2ee specification?