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 enterprise information system?
What are the four components of j2ee application?
What is build file?
What is application client container?
What is a java ee container?
What is a web container j2ee?
What is the latest technology used in java?
What is java j2ee developer?
What is java developer job description?
What is java ee architecture?
Hi Friends. I want complete technical flow of j2ee project with following technologies. jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE layers .
What is frame in java?
What is archiving?
What is form-based authentication?
Is j2ee a framework?