From the course: Build Spring Boot Apps with the Kotlin Programming Language

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Adding the Hibernate dependencies

Adding the Hibernate dependencies

- [Instructor] Hello, once again. In this chapter, we're going back to our theater project, which I've reopened, and we are now going to be using a database with hibernate. Because I want to keep things simple so that we can focus on programming rather than having to install a database, we're going to use the H2 database in this chapter. If you've not come across H2 before, it's an embedded file base database that's real easy to set up within our application. We just need to include a maven dependency and we're ready to go. But don't worry if you prefer to use MySQL or some other production style database, all the code that we write in this chapter will be identical, you will just need to put different dependencies in your maven pom, and of course configure the application.properties file for your database, but other than that, there'll be no differences at all. So follow along with me, and let's start, then, by adding in the required dependencies to our pom. So we'll find that down…

Contents