Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.
Spring Boot pt. 4: Create mySQL Table, @Entity, @Repository
1 year ago
5
This episodes covers creating a new mySQL table, @Entity annotation in Java, mapping the Java Class to the mySQL table, creating the repository layer, injecting it into our controller and calling the repository findAll() and findById(int) methods.
SQL commands:
USE nobs;
CREATE TABLE product (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255)
description VARCHAR(255)
price DOUBLE,
quantity INT
);
INSERT INTO product (name, description, price, quantity)
VALUES
('Product 1', 'Description for Product 1', 10.99, 100),
('Product 2', 'Description for Product 2', 19.99, 50);
LinkTree:
https://linktr.ee/peachezprogramming
Loading comments...
-
LIVE
The Chris Salcedo Show
11 hours agoDems Win In Dem States...And They Celebrate?
742 watching -
1:04:43
Crypto Power Hour
9 hours agoPsychology Of Crypto Market Cycles
15.2K6 -
9:58
Clintonjaws
12 days ago $0.07 earnedKaroline Leavitt's Response To 'The View' Host's Nasty Attacks Is Perfect
1.96K4 -
24:23
World2Briggs
18 hours agoTop 10 Towns You Can Retire on $1900 a month in the Pacific North West.
3.19K5 -
21:23
Lady Decade
15 hours ago $0.03 earnedThe Lost Sega Neptune Console Refuses To Die !
2.03K3 -
17:14
ThinkStory
20 hours agoIT: WELCOME TO DERRY Episode 2 Breakdown, Theories, & Details You Missed!
4.84K -
17:25
Real Estate
1 month agoThe Job Market Collapse IS HERE
3.87K6 -
LIVE
BEK TV
23 hours agoTrent Loos in the Morning - 11/05/2025
186 watching -
LIVE
The Bubba Army
22 hours agoUPS PLANE EXPLODES - What Went Wrong? - Bubba the Love Sponge® Show | 11/05/25
1,745 watching -
16:38
James Klüg
20 hours agoFOOD STAMPS RAN OUT, Will People Loot?
19.1K32