what is the purpose and activity of SessionFactory in
hibernate?
Answer Posted / ram nidadavolu
Application obtains session instances from Session Factory.
Only single SessionFactory for the whole application.
SessionFactory caches generate SQL statements and other
mapping metadata that Hibernate uses at runtime.
Cached data that has been read in one unit of work and may
be reused in a future unit of work.
SessionFactory sessionFactory =
Configuration.buildSessionFactory();
Is This Answer Correct ? | 29 Yes | 20 No |
Post New Answer View All Answers
What are the four components of j2ee application?
Why awt is used in java?
What is urn?
What should a junior java developer know?
What is j2ee module?
What is server in j2ee?
What is a jbutton in java?
Is visual studio good for java?
Which software is used for java?
What is architecture neutral in java?
What does j2ee stand for?
Why java is a platform?
Is string a primitive data type in java?
Who gave the name java?
What is commit?