Developers from Hibernate team is actively working on the development of this framework and due to their efforts new version Hibernate 5.2.10 is released on 14 April 2017. In this section we will see how to use Hibernate 5.2.10 Maven Dependency in a Java Project.
If you are not using maven then you should download zip package and then use in you project. But the most preferred way to use any Java library is through maven build tool. Maven make easy to use Hibernate 5.2.10 Maven Dependency in your project.
Hibernate version 5.2.10 come with new features and bug fixes.
New features in Hibernate version 5.2.10
There are many improvements in this version of Hibernate. Here are few features:
If you want to use the JDK 8 features in your project then include following in pom.xml file:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-java8</artifactId> <version>5.1.0.Final</version> </dependency>
Hibernate 5 dependency can be easily included in Java project by just adding following dependency in pom.xml file:
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>5.2.10.Final</version> </dependency>
If you are using Gradle build tool then add following code:
compile group: 'org.hibernate', name: 'hibernate-core', version: '5.2.10.Final'
After adding this dependency Gradle build tool will download add jar files and include it in your project.
This way you can add Hibernate 5.2.10 Maven Dependency in Java based project.
You can learn Hibernate 5 on our website and following is the links:
Check all the Hibernate 5 tutorials.
Learning Hibernate is much easier with our tutorials. We have large collection of Hibernate tutorials supported with many example projects. You will find many video tutorials of Hibernate on our website.
Here are the latest tutorials of Hibernate:
Hibernate 5 Envers
Check all the Hibernate Tutorials for beginners.
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: October 7, 2017 If you enjoyed this post then why not add us on Google+? Add us to your Circles