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
Is java part of oracle?
How many types of component events are in java?
What does j2ee stand for?
What is java ee technologies?
What is java developer?
What is the use of jit compiler in java?
What is server in j2ee?
What is j2ee api?
Which compiler is used in java?
What is actionerrors?
What is a java ee container?
What is jbutton in java?
What is business logic?
What does the web module contain?
How many types of objects are there in java?