Question: Task 2 You are given a Spring Boot version 2 . 0 . 5 application with database access already configured. The database contains two tables:

Task 2
You are given a Spring Boot version 2.0.5 application with database
access already configured.
The database contains two tables: person and pet. A person can
have many pets, and every pet has an owner.
Database schema
CREATE TABLE person (
id bigint. NOT NULL,
first_name varchar(50) NOT NULL,
PRIMARY KEY (id)
:
CREATE TABLE pet (
id bigint NOT NULL.
name varchar(50) NOT NULL,
owner_id bigint NOT NULL, .
? PRIMARY KEY (id)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!