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
Lara Logan
12 hours agoTHE REMNANT RISES: Matt Shea & The New Generation of Pastors on Fire for God & Country | Episode 37
326 watching -
Nikko Ortiz
4 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
182K112 -
48:24
The Rubin Report
3 hours agoPress Stunned by Trump’s Brutally Honest Reaction to James Comey Question
47.1K20 -
1:02:42
VINCE
5 hours agoComey Indicted, Soros Exposed: The Powder Keg Just Exploded | Episode 134 - 09/26/25
242K297 -
DVR
Bannons War Room
7 months agoWarRoom Live
38.3M8.88K -
1:45:34
Benny Johnson
4 hours ago🚨James Comey INDICTED for Perjury and Obstruction, Years In JAIL | 275 FEDS in January 6th Crowd
79.7K110 -
1:35:48
Dear America
5 hours agoBOMBSHELL: 274+ Feds Where in The Crowd On Jan 6th!! + James Comey Finally INDICTED!!
154K107 -
1:55:16
Badlands Media
9 hours agoBadlands Daily: September 26, 2025
59.8K24 -
2:44:51
Matt Kohrs
15 hours agoPCE Inflation Report, BTFD & Payday Friday || Live Trading Stock Market Open
85.8K2