Hibernate Core concepts overview
- 27th Jan 2017
- 0
- 15669
- How to define custom configuration file in hibernate Session factory vs session in hibernate What is configuration in hibernate What is session factory in hibernate what is session in hibernate why session factory is immutable Why session factory is thread safe
We need to understand the below concepts in Hibernate before using them in coding Configuration SessionFactory Session Let’s see them in detail Configuration Hibernate should have the information to map the java classes with the database tables. This information is ideally kept in the mapping XML file. Hibernate also need to have the database related […]