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 iso 3166?
How do I become an expert in java?
How java is reliable?
What is the difference between java and core java?
What is build tool in java?
What is container-managed persistence?
What is meant by applet in java?
What does enterprise javabeans module contain?
What is javabeans component?
How will you explain load() and get() methods?
What is Connector architecture?
What is cmp in j2ee?
What is java advanced?
Why primitive data types in java are not objects?
public class ActionSearchBean extends
GenericSearchBean