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
Is java a web technology?
What is the best java compiler?
What is j2ee and j2se?
What is asant?
What is data?
What is home handle?
What are j2ee technologies?
how to run servlet program between two computer through internet ?
How java is reliable?
What is event in java?
What are the components of j2ee?
How do I become a java developer?
What is java full stack developer?
What is actionform?
Difference between load and get method?