Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Intro to Hibernate 2:17
- Hibernate Sessions 2 questions
- Configuring a Project to Use Hibernate 6:34
- Create a Hibernate Configuration File 2 objectives
- Adding a POJO with JPA Annotations 9:34
- Adding JPA Annotations to an Entity 2 objectives
- Building a Hibernate SessionFactory 4:41
- The Builder Design Pattern 8:46
- The Builder Design Pattern 1 question
- Using the Builder Pattern 1 objective

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Configuring a project to use Hibernate involves a couple simple steps. In this lesson, you will see how to add the Hibernate dependency to your Gradle build file and include a Hibernate configuration file in XML format.
Starting This Project
We recommend downloading the Project Files in the "Downloads" Tab and following along with hibernate-basics/2024/start/
in IntelliJ.
If you want to create your own project from scratch, be sure to use these implementations in your build.gradle
dependencies instead of what's shown in the video.
implementation 'org.hibernate:hibernate-core:6.5.2.Final'
implementation 'com.h2database:h2:2.2.224'
implementation 'javax.transaction:jta:1.1'
Gradle Primer
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Chance Edward
4,507 Points0 Answers
-
Chance Edward
4,507 Points0 Answers
-
Binyamin Friedman
14,615 Points1 Answer
-
Laxmikanta Nayak
185 Points3 Answers
-
Gowtham Pendyala
199 Points6 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up