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
DML
44 minutes agoDML LIVE: NYC Goes Socialist: Mamdani’s Victory
593 watching -
DVR
Chad Prather
13 hours agoTruth on Trial: When Fear Meets Faith
21.3K13 -
LIVE
LFA TV
12 hours agoLIVE & BREAKING NEWS! | WEDNESDAY 11/5/25
3,735 watching -
LIVE
The Chris Salcedo Show
12 hours agoDems Win In Dem States...And They Celebrate?
665 watching -
1:04:43
Crypto Power Hour
10 hours ago $0.03 earnedPsychology Of Crypto Market Cycles
28.3K6 -
9:58
Clintonjaws
12 days ago $0.11 earnedKaroline Leavitt's Response To 'The View' Host's Nasty Attacks Is Perfect
12.2K13 -
24:23
World2Briggs
19 hours ago $0.01 earnedTop 10 Towns You Can Retire on $1900 a month in the Pacific North West.
18.6K8 -
21:23
Lady Decade
16 hours ago $0.03 earnedThe Lost Sega Neptune Console Refuses To Die !
14.3K4 -
17:14
ThinkStory
22 hours agoIT: WELCOME TO DERRY Episode 2 Breakdown, Theories, & Details You Missed!
13.2K -
17:25
Real Estate
1 month agoThe Job Market Collapse IS HERE
14.7K12