what is the purpose and activity of SessionFactory in
hibernate?
Answer Posted / soumya ranjan
The main contract here is the creation of Session instances. Usually an application has a single SessionFactory instance and threads servicing client requests obtain Session instances from this factory.
The internal state of a SessionFactory is immutable. Once it is created this internal state is set. This internal state includes all of the metadata about Object/Relational Mapping.
Implementors must be threadsafe.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a java ee container?
Who is java developer?
What is jetty in java?
What is jradiobutton in java?
What is 2 stands for in j2ee?
What is a thin client?
Which edition of java is used for web application?
What is full form of j2ee?
What is Document Object Model?
What does java ee stand for?
What are the tools in java?
What is meant by j2ee?
What do you mean by the component contract?
What is server in j2ee?
What is context attribute?