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

Spring Boot pt. 24: Relational Mappings @OneToMany (2/3)
1 year ago
8
SQL Queries:
ALTER TABLE address
ADD COLUMN customer_id BIGINT,
ADD CONSTRAINT fk_customer
FOREIGN KEY (customer_id)
REFERENCES customer (id);
UPDATE address
SET customer_id = (SELECT id FROM customer WHERE id = address.id);
INSERT INTO customer (first_name, last_name) VALUES ('Jane', 'Smith');
INSERT INTO address (street, city, state, customer_id) VALUES
('789 Pine St', 'CityC', 'SC', 1),
('101 Elm St', 'CityD', 'SC', 2);
In today's episode of the No BS Java Spring Boot Guide, we cover relational mappings for relational databases and use the @OneToMany annotation
Loading comments...
-
LIVE
megimu32
1 hour agoOTS: Movie Tie-In Games + Remakes: Let’s Play Memory Lane
59 watching -
LIVE
Adam Does Movies
9 hours agoTalking Movies + Ask Me Anything - LIVE
60 watching -
1:17:18
Glenn Greenwald
1 day agoWhat are CBS News' Billionaire Heirs Doing with Bari Weiss? With Ryan Grim on the Funding Behind It; Europe Capitulates to Trump Again | SYSTEM UPDATE #494
83.3K31 -
1:43:49
RiftTV
3 hours agoCNN Calls Black NY Shooter WHITE, Cincinnati FATIGUE | The Rift | Guest: Braeden Sorbo, 2Protects1
22.8K10 -
4:21:04
LumpyPotatoX2
4 hours agoKilling Floor 3: Rampage & Chaos - #RumbleGaming
2.33K -
LIVE
BrancoFXDC
4 hours agoPlaying Ranked Warzone - Pursuit of Diamond Rank
56 watching -
1:11:41
Omar Elattar
4 hours agoThe Brain Experts: "Your Overthinking Problem Has A Physical Solution & We Can Show You!"
6.92K1 -
LIVE
Mattnifico
3 hours agoREPLAYING EVERY FORZA HORIZON GAME - Forza Horizon 1 (Part 2)
20 watching -
LIVE
DamagingDoc18
1 hour agoTime to get small! Grounded 2
10 watching -
1:00:06
BonginoReport
5 hours agoCNN Speculates NYC Gunman’s Race, Gets it WRONG - Nightly Scroll w/ Hayley Caronia (Ep.100)
116K40