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...
-
10:17
Advanced Level Diagnostics
13 days ago2007 Chevy Express - Replaced Everything But The Code Remains!
1.22K -
1:01:11
The Mel K Show
2 hours agoMel K & Harley Schlanger | History Repeats: A Wake-Up Call for Humanity | 9-20-25
71.2K15 -
2:13:52
Mally_Mouse
10 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Lockdown Protocol (New Updates!)
79.7K5 -
12:57
Culture Apothecary with Alex Clark
1 day agoMy Last 6 Years With Charlie Kirk | In Memoriam with Alex Clark
30.4K6 -
2:48:55
Barry Cunningham
7 hours agoPRESIDENT TRUMP WILL ENSURE THAT CHARLIE KIRK DID NOT DIE IN VAIN!
65.9K112 -
2:14:52
SavageJayGatsby
7 hours ago🔥 Spicy Saturday - Let's Play: Lockdown Protocol 🔥
92.9K2 -
4:22:17
GamerGril
19 hours ago💕 Dying Light The Beast 💕 ✨My New Favorite Game✨
32.8K16 -
16:39
Exploring With Nug
8 hours ago $5.66 earnedI Found a Car Underwater… and a Bag I Wish I Hadn’t Opened!
36.5K14 -
21:54
MYLUNCHBREAK CHANNEL PAGE
23 hours agoIstanbul Should Not Exist - Pt 2
59.3K20 -
3:44:38
Michael Franzese
2 days agoOperation Freedom Fighter: Emergency Live
109K69