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 java technology stack?
What is the best java course?
What is j2ee called now?
What should a junior java developer know?
What is j2ee architecture?
What is the difference between load() and get()?
What is a plugin in java?
What is java api for xml processing (jaxp)?
What are j2ee technologies?
What is java naming and directory service?
What are the different java technologies?
On which platform j2ee is based?
explain the technologies that j2ee platform provides for developing components.
What does enterprise javabeans module contain?
What are the j2ee client types?