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 actionlistener?
What is the J2EE module?
What are the j2ee client types?
What is data?
How to invoke stored procedure in hibernate?
What is included in j2ee?
What is Connector architecture?
Why is java called technology?
What are the j2ee technologies?
How many types of component events are in java?
What is declarative security ?
What is DDP?
Is java important for my computer?
What are the advantages in the use of spring for application development?
What is enterprise information system resource?