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 component in java with example?
Is c++ more secure than java?
What is javac written?
Is advanced java and j2ee same?
What is actionerrors?
Why is java called object oriented?
Is java safe to download?
Is string an object in java?
Can I run seam in a j2ee environment?
How java is used in web applications?
What is the best java application server?
What is callback methods?
What is B2B?
What is java web technologies?
Who is java developer?