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 distributed application?
What is mean by j2ee?
What is assembly in java?
What is main method in java?
Which compiler is used in java?
How to invoke stored procedure in hibernate?
What is the difference between session bean and entity bean ?
What is a j2ee component?
What is use of final keyword in java?
Describe the ear, war, and jar.
What is DDP?
What is actionerrors?
What is java application server?
Is string a primitive data type in java?
Where javac is located?