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
You are given a Spring Boot version 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,
firstname varchar NOT NULL,
PRIMARY KEY id
:
CREATE TABLE pet
id bigint NOT NULL.
name varchar NOT NULL,
ownerid bigint NOT NULL,
PRIMARY KEY id
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
