From the course: Spring Boot 2.0 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Building embedded databases

Building embedded databases

From the course: Spring Boot 2.0 Essential Training

Start my 1-month free trial

Building embedded databases

- (instructor)Before we get too much further into the weeds of spring data, and repositories, we need to get a database wired into our application. So first and foremost, let's walk through the process of wiring and embedded database. So what I want you to do is to return to your ID and open up our room web app, and go to the pom file. We're going to add a couple of dependencies here. The first dependency that we are going to add is spring, boot, starter data jpa. And that's going to come from org dot spring framework boot, and we don't need a version. And the next element, is we're going to actually do our database. And this time we're going to use the h2 database. This is a great embedded database, and it's very SQL compliant for most operations. Now, let's let Maven do its thing and important projects. Now, what I want you to notice is in the bin folder of the exercise files, I've got several files here for you. Some…

Contents