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
Damysus Gaming
1 hour agoBorderlands 4 - AMON Vs Timekeeper!! Lets Grind This OUT!!
45 watching -
3:10:06
Nikko Ortiz
7 hours agoHAMAS Gaza Peace Deal And MORE.... Brutally Honest EP #17 | Rumble LIVE
105K53 -
25:10
MYLUNCHBREAK CHANNEL PAGE
7 hours agoIstanbul Should NOT Exist - Pt 4
36.6K13 -
tminnzy
7 hours agoDROPS ON - BO7 BETA ALL DAY! #BlackOps7
56.7K8 -
1:35:48
Jeff Ahern
7 hours ago $10.59 earnedThe Saturday Show with Jeff Ahern
76.1K5 -
GritsGG
8 hours agoWarzone Win Grinding! Most Wins in WORLD! 3680+!
42.2K2 -
55:45
Tactical Advisor
7 hours agoNew Product Alert! | Vault Room Live Stream 040
61.4K5 -
3:30:37
Reidboyy
7 hours ago $2.11 earnedTHEY GOT RID OF SBMM WTF!?!? (Go Phillies)
33K -
5:06:48
The Company Boyz
6 hours agoDying Light: The Beast | Ja Pierdole, Kurwa Bober!
27K3 -
58:10
X22 Report
14 hours agoMr & Mrs X - Feminism, Family, Federal Reserve, The Rise Of The [DS] Agenda
209K70