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 application assembler?
Why frameworks are used in java?
What is java full stack developer?
Why is java more secure?
What is authorization?
What is setbounds in java?
what is direct link to download swing ebook,applet,ejb,core java
How many types of objects are there in java?
What do you understand by j2ee?
What is java web technologies?
What is the concept of connection pooling?
What do you understand by a thin client?
What is awt panel java?
What is the latest technology used in java?
What is application configuration resource file?