Hi,
I this Hibernate Maven Dependency is the best way to use Hibernate in a project. How to use Hibernate Maven Dependency in pom.xml file?
Thanks
Hi,
Hibernate is famous and most used ORM framework. ORM stands for Object Relational Mapping and this tool is used to map your Java objects to the relational database table row.
Hibernate jar file can be download and included in the Java project but nowadays this is old method. Developers are using maven in their project and it automatically downloads dependent jar files.
Hibernate maven dependency can be added to the pom.xml file to include Hibernate jar files in your project.
You should add following code to include Hibernate ORM 5 dependency in your project:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.2.10.Final</version> </dependency>
Read more Hibernate tutorials in our Hibernate tutorials section.
Thanks
Ads