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...
-
32:49
Simply Bitcoin
1 day ago $0.39 earnedBitcoin Crucible w/ Alex Stanczyk | EP 1
535 -
1:57:37
Tucker Carlson
1 hour agoCharlie Sheen’s Craziest Hollywood Stories and Why He Refuses to Believe the Official Story of 9/11
5.71K24 -
LIVE
Sean Unpaved
2 hours agoRyder Cup Tee-Off, CFB's Week 5 Madness, & the NFL's Win-or-Wilt Week 4
104 watching -
2:07:01
The Culture War with Tim Pool
3 hours agoWho Really Killed Charlie Kirk? Truth Behind Kirk Assassination | The Culture War with Tim Pool
189K175 -
Lara Logan
13 hours agoTHE REMNANT RISES: Matt Shea & The New Generation of Pastors on Fire for God & Country | Episode 37
6.35K3 -
4:30:51
Nikko Ortiz
5 hours agoADHD, Crashouts, and Karens - Rumble LIVE
54.3K5 -
49:21
Steven Crowder
4 hours agoWhy She's Wrong and other Life Advice from Steven Crowder
182K122 -
48:24
The Rubin Report
3 hours agoPress Stunned by Trump’s Brutally Honest Reaction to James Comey Question
47.1K23 -
1:02:42
VINCE
5 hours agoComey Indicted, Soros Exposed: The Powder Keg Just Exploded | Episode 134 - 09/26/25
242K303 -
DVR
Bannons War Room
7 months agoWarRoom Live
38.3M8.88K