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 does enterprise javabeans module contain?
What is the difference between load() and get()?
What is java ee used for?
What is j2ee module?
What is java developer job description?
Is java more difficult than c++?
What is frame in java?
Explain the four types of container that the j2ee specification defines
What do you understand by actionform?
What is ear file?
What is a java application server?
What is the name of java compiler?
What is data?
Which compiler is used in java?
public class ActionSearchBean extends
GenericSearchBean