Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

Spring Boot pt. 25: Relational Mappings @ManyToMany (3/3)
1 year ago
6
SQL Queries:
CREATE TABLE customer_address (
customer_id BIGINT,
address_id BIGINT,
PRIMARY KEY (customer_id, address_id),
FOREIGN KEY (customer_id) REFERENCES customer(id),
FOREIGN KEY (address_id) REFERENCES address(id)
);
INSERT INTO customer_address (customer_id, address_id)
SELECT customer_id, id as address_id
FROM address;
ALTER TABLE address
DROP FOREIGN KEY fk_customer;
ALTER TABLE address
DROP COLUMN customer_id;
In today's No BS Guide to Java Spring Boot, we finish Relational Mappings by using the @ManyToMany annotation, creating a Junction table, upholding the previous relationship of @OneToMany. We also use @JSONIGNORE to deal with a circle reference.
LinkTree:
https://linktr.ee/peachezprogramming
Loading comments...
-
LIVE
The Bubba Army
22 hours agoTrump & Netanyahu Done Deal? - Bubba the Love Sponge® Show | 9/30/25
2,287 watching -
9:15
ThinkStory
1 day ago6 INSANE Cipher Theories!
10.5K -
20:54
Jasmin Laine
17 hours ago"Why Are You AVOIDING Me?"—Poilievre GRILLS Carney as He CRUMBLES Under Pressure LIVE
14.4K27 -
7:13
China Uncensored
19 hours agoChina’s Military Is Out of Control. Can This INSANE Plan Stop It?
11.1K13 -
1:46
WildCreatures
17 days ago $1.04 earnedButterfly risks its life to drink crocodile tears in the Pantanal
12.5K5 -
24:38
Professor Nez
18 hours agoTrump Just SHOOK the Democrats to the CORE with THIS MOVE!
25.6K17 -
14:16
Actual Justice Warrior
3 days agoManhattan DA Says It's Okay To ATTACK Pro Life Activists
26.6K32 -
5:31
Buddy Brown
1 day ago $4.47 earnedJames Comey Forgot This Video EXISTS! | Buddy Brown
29.1K13 -
20:47
James Klüg
1 day agoAsking Democrats What Ended The Border Crisis Vol. 3
28.7K34 -
18:09
Forrest Galante
1 day agoI Survived 24 Hours In The World's Deadliest Jungle
175K22