• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
November 03, 2022 |280 Views
Hibernate Configuration in Hibernate Framework
  Share   Like
Description
Discussion

In this video, we will be discussing what is hibernate configuration in hibernate framework.

Hibernate configuration in Hibernate framework

Hibernate is an ORM (Object Relational Mapping) Framework. It is purely made for writing persistence logic. In Hibernate, an object represents one Entity. Hibernate helps us to avoid writing the SQL queries to perform any database operation in a java application. By calling some methods provided by Hibernate Framework, we can efficiently perform our database persistence operations. 

Configuration is a class and it is present in org.hibernate.cfg package. To work with hibernate framework, we need this configuration class object. This configuration class takes on a configuration file, knowns as the ‘hibernate configuration file’. 

In this configuration file, we keep database properties like database username, password, JDBC driver class, JDBC URL, etc, it helps in activating SessionFactory. 
So in this video, let's deep dive into Hibernate Configuration.

Hibernate Framework: https://www.geeksforgeeks.org/introduction-to-hibernate-framework/

Read More