From the course: Spring Cloud GCP: Setting Up a Cloud SQL Database
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Importing the Spring Data Cloud Library
From the course: Spring Cloud GCP: Setting Up a Cloud SQL Database
Importing the Spring Data Cloud Library
- [Instructor] For this course, I want to create a puzzle inventory app, to track puzzles that we could trade around the country. In this video, we are going to walk through the structure of a Spring Boot app, that creates puzzles in our inventory, import the Spring Data Cloud library, and set up the app to leverage JPA, or the Java Persistence API. Before we write any code, let's review what we have already. For my Spring Boot app, I am using Maven with a palm.xml file. This defines key characteristics of this app like the Java version located on line 18, and any dependencies starting at line 22. This project already has access to the latest version of the Spring Cloud Sequel dependency seen on lines 32 through 34. This dependency provides us access to fields in our application.properties file that we can configure to communicate with the new Cloud Sequel Postgres database that we created. This project is also using…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.