Take a look at implementing Spring Data JPA in a Spring Boot application.
- [Instructor] Implementing Spring Boot in Spring Data…is relatively straightforward.…And we're gonna walk through the few steps…to get an embedded database running in our application…so that we can actually consume that data,…add data, and leverage it in future exercises.…So let's go ahead and jump into our ID.…Now I've added a couple of resources…to the room web app in source main resources.…The data.sql and schema.sql files,…we'll leverage those…to prime our databases it starts at.…
If you take a look at the schema.sql file,…you'll see that I've created a table called ROOM,…and added some fields to it.…And likewise I've got some default data that is coming in,…in my data.sql file.…So let's jump to our POM file in the room web app.…And let's add a couple of dependencies.…Now the first one that we are going to add…is spring boot starter data jpa,…and that comes from the org.springframework.boot.…
And that by convention, right before our test dependencies,…I'm going to add a runtime dependency.…And we're going to add the h2 database,…
AuthorFrank P Moley III
- Creating a Spring Boot application
- Configuring a Spring Boot app
- Leveraging profiles
- Packaging and running Spring Boot web apps
- Building a command-line application
- Using Spring Boot starters: Spring Data, Spring Security, and more
- Extending Spring Boot
- Using Spring Boot Actuator to monitor app health and other metrics
Skill Level Intermediate
What you need to know4m 14s
1. Boot Camp
2. Web Applications with Spring Boot
3. Command-Line Applications with Spring Boot
4. Using Spring Boot Starters
5. Extending Spring Boot
6. Extending Actuator
Next steps3m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.