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
What is java api for xml registries (jaxr)?
What is archiving?
What is java naming and directory service?
What is setfocusable in java?
What is entity reference?
Is java an assembly language?
What is component in java with example?
Why is java more secure?
What is a jbutton in java?
What is application client?
Is python more secure than java?
In DAO we are writting sql queries , how it is possible with creating and closing database connections.
How does event listener work in java?
What are the components of J2EE application?
What is j2ee server?