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 is mean by connection pooling?
What is a java application client?
What is core java and j2ee?
What is the best java course?
What is external subset?
Is java gui dead?
Is java a tool?
What is java ee used for?
whay java does not support bass by reference
What is a panel java?
What is java mobile?
Is java still slow?
What are the four components of j2ee application?
What is the preferred size of a component in java?
Explain the j2ee tiers.