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 components of j2ee applications?
Which is latest technology in java?
Is c++ more secure than java?
What are the four types of J2EE modules?
What is a plugin in java?
Define orm and its working in j2ee?
What is B2B?
What does java ee stand for?
What is commit?
Is java part of oracle?
What is Document Object Model?
Is java is fully object oriented?
Is j2ee and jee same?
What is meant by applet in java?
What is gridlayout in java?