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
Describe the file types *.ear, * .jar and *.war?
Which compiler is used in java?
What is java 2 platform, standard edition (j2se)?
Is java is fully object oriented?
What is the best java compiler?
Is eclipse written in java?
Is java more difficult than c++?
Explain jta, jndi, and jms.
What is initialization parameter?
What is java mobile?
What is component contract?
What is java used for in technology?
What is advance java?
What do you mean by j2ee module?
Define hashtable in j2ee?