Why is sessionfactory immutable?
Answer / Vishal Verma
SessionFactory is declared as immutable in Hibernate because it's expensive to create and caching its instances can improve performance. Once created, it should not be modified.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is @embeddedid?
Discuss the collections in hibernate?
How to bind hibernate session factory to jndi?
What does hibernate show_sql true mean?
What is orm database?
Is sessionfactory immutable?
What is lazy loading hibernate?
How many types of queries are there in hibernate?
What is bootstrap in hibernate?
What are best practices to follow with Hibernate framework?
What are the orm tools available?
How to configure hibernate in spring boot?