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
SportsPicks
2 hours agoCrick's Corner: Episode 95
34 watching -
4:23
Michael Heaver
3 hours agoShellshocked France Is Quickly COLLAPSING
514 -
1:08:17
Sean Unpaved
3 hours agoMNF Jaguars Shock: Is Bill's Cachet Fading? Hot Seat Sizzlers & Sanchez's Stabby Spiral
16.7K1 -
Side Scrollers Podcast
4 hours agoDEI’s FINAL BOSS EXPOSED + Book Publisher REVERSES Cancel Attempt + More | Side Scrollers
16.1K3 -
2:00:21
The Charlie Kirk Show
3 hours agoUrban Insurrection? + Biggs for Governor + Red New Jersey? | Halperin, Rep. Biggs, Maloney|10.7.2025
108K41 -
LIVE
Viss
5 hours ago🔴LIVE - Acquire PUBG Tactics Acquire Chicken Dinners! - PUBG 101
177 watching -
LIVE
Badlands Media
10 hours agoGeopolitics with Ghost Ep. 45 - October 7, 2025
1,134 watching -
LIVE
ahdedazs
1 hour ago $0.20 earnedBlack Ops 7 EARLY ACCESS BETA! *
54 watching -
1:16:38
Simply Bitcoin
3 hours ago $2.10 earned$130B GIANT Makes HUGE $644k Bitcoin Prediction SOONER Than You Think | EP 1348
13.4K9 -
1:04:32
Timcast
3 hours agoTrump Preps INSURRECTION ACT, WINS In Court, Will Deploy National Guard To Chicago
151K81