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
Why java is not 100% object oriented language?
how to run servlet program between two computer through internet ?
How do I become an expert in java?
Give some advantages of orm (object-relational mapping)?
what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface?
Define the struts in the j2ee framework?
Define orm and its working in j2ee?
What should a junior java developer know?
Define authorization constraint?
What is callback methods?
What are j2ee concepts?
Explain j2ee architecture.
What do you understand by business logic?
What is the latest framework in java?
How java is reliable?