Database migration using Flyway + Spring boot + Hibernate + SQL

Ali Bouali โ€ข November 16, 2022
Video Thumbnail
Ali Bouali Logo

Ali Bouali

View Channel

About

๏ฟฝ ู‚ุงู„ ุฑุณูˆู„ ุงู„ู„ู‡ ๏ทบ: โ€œุฅุฐุง ู…ุงุช ุงุจู† ุขุฏู… ุงู†ู‚ุทุน ุนู…ู„ู‡ ุฅู„ุง ู…ู† ุซู„ุงุซ: ุตุฏู‚ุฉ ุฌุงุฑูŠุฉุŒ ุฃูˆ ุนู„ู… ูŠูู†ุชูุน ุจู‡ุŒ ุฃูˆ ูˆู„ุฏ ุตุงู„ุญ ูŠุฏุนูˆ ู„ู‡.โ€ ุงู„ู„ู‡ู… ุงู†ูŠ ู†ูˆูŠุช ู…ุดุงุฑูƒุฉ ูƒู„ ููŠุฏูŠูˆู‡ุงุชูŠ ุงู„ุชุนู„ูŠู…ูŠุฉ ุนู„ู‰ ูŠูˆุชูŠูˆุจ ู…ุฌุงู†ุงู‹ ู„ูˆุฌู‡ูƒ ุงู„ูƒุฑูŠู…ุŒ ู„ุนู„ู‘ู‡ุง ุชูƒูˆู† ู…ู† ุงู„ุนู„ู… ุงู„ุฐูŠ ูŠูู†ุชูุน ุจู‡. ุฃุณุฃู„ ุงู„ู„ู‡ ุงู„ุฅุฎู„ุงุต ูˆุงู„ู‚ุจูˆู„ุŒ ูˆุฃู† ูŠู†ูุน ุจู‡ุง ูƒู„ ู…ู† ูŠุดุงู‡ุฏู‡ุง ๐ŸŒฑ ุงู„ุฏู‘ุงู„ ุนู„ู‰ ุงู„ุฎูŠุฑ ูƒูุงุนู„ู‡ Welcome to Ali's Dev World ๐ŸŒ | Learn, Build, and Grow as a Developer Hey there! Iโ€™m Ali โ€” a passionate software engineer and educator creating high-quality content for developers who want to sharpen their skills and stay ahead in the tech world. On this channel, youโ€™ll find: ๐Ÿ”น Full project tutorials (Spring Boot, Angular, API integrations, and more) ๐Ÿ”น Real-world backend & frontend development workflows ๐Ÿ”น AI in Spring Boot (Spring AI, RAG, OpenAI integrations) ๐Ÿ”น Deep dives into tools like Redis, Keycloak, TinyLog, OpenAPI, etc. ๐Ÿ”น Game development using Canvas API (Space Impact-style) ๐Ÿ”” Subscribe and turn on notifications so you never miss a build!

Video Description

Buy me a coffee: https://ko-fi.com/boualiali #spring #learning #springboot #springtutorial #springsecurity #developpement #java #arraylist #linkedlist #springdatajpa #querybuilder Database migration using Flyway + Spring boot + Hibernate + SQL In this tutorial you will learn how to do a database migration using Flyway. Flyway should be a fundamental part of any Java EE application DevOps. It simplifies database migration and seamlessly integrates with your application. Instead of delegation your database management to Hibernate, it is much better and way recommended to user a database migration tool. Flyway is an easy to use and start with migration tool. Don't Forget to =========================================== ๐Ÿ’ฏ Subscribe to the youtube channel ๐Ÿ’ฏ Join our Discord Community - https://discord.gg/Ded93eKfAB ๐Ÿ’ฏ Join our Facebook Group - https://www.facebook.com/groups/589612651142975 Table of content 00:00 Introduction 01:36 Join our community 02:15 Why using DB migration 04:25 Cleanup the project 05:17 Adding Flyway dependency 05:57 Setup Flyway 11:17 Flyway filename pattern 13:10 Running the SQL scripts 24:50 What comes next?

You May Also Like

Upgrade Your Game: Must-Have PC Parts

AI-recommended products based on this video

Loading...
acer Aspire 3 A315-24P-R7VH, 15.6" FHD 1920x1080 Laptop, AMD Ryzen 3 7320U, Radeon Graphics, 8GB RAM, 128G SSD, Windows 11 in S Mode
Best Seller

acer Aspire 3 A315-24P-R7VH, 15.6" FHD 1920x1080 Laptop, AMD Ryzen 3 7320U, Radeon Graphics, 8GB RAM, 128G SSD, Windows 11 in S Mode

(3,603)
$529.99$489.99
FREE delivery Tue, Jun 17
500+ bought in past month
Loading...
MSI PRO B760M-P DDR4 (Supports 12th/13th Gen Intel Processors, LGA 1700, DDR4, PCIe 4.0, M.2, 2.5Gbps LAN, USB 3.2 Gen2, mATX)

MSI PRO B760M-P DDR4 (Supports 12th/13th Gen Intel Processors, LGA 1700, DDR4, PCIe 4.0, M.2, 2.5Gbps LAN, USB 3.2 Gen2, mATX)

(2,786)
$134.99$107.99
FREE delivery Wed, Oct 22
100+ bought in past month
Loading...
msi Crosshair 16 Gaming Laptop - with 2024 Office Lifetime License, GeForce RTX 4070, 16" FHD+ 144 Hz Display, 14th Gen Intel 16-Core i7 14650HX, Backlit KB, Windows 11 Pro (32GB DDR5 RAM | 1TB SSD)

msi Crosshair 16 Gaming Laptop - with 2024 Office Lifetime License, GeForce RTX 4070, 16" FHD+ 144 Hz Display, 14th Gen Intel 16-Core i7 14650HX, Backlit KB, Windows 11 Pro (32GB DDR5 RAM | 1TB SSD)

(0)
$7,606.98
FREE delivery Jun 23 - Jul 3Only 3 left in stock.
Loading...
Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black
Best Seller

Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black

(16,675)
$112.99$101.69
FREE delivery Sun, Aug 10
500+ bought in past month
Loading...
ACEMAGIC 2025 Laptop AMD Ryzen 7 5825U (8C/16T), 15.6โ€œFHD Display,16GB RAM 512GB NVMe SSD, WiFi 6, Numeric Keyboard, Type_C, 54.72Wh Battery | Windows 11 Pro Laptop Computer for Work & Play

ACEMAGIC 2025 Laptop AMD Ryzen 7 5825U (8C/16T), 15.6โ€œFHD Display,16GB RAM 512GB NVMe SSD, WiFi 6, Numeric Keyboard, Type_C, 54.72Wh Battery | Windows 11 Pro Laptop Computer for Work & Play

(17)
$584.99
FREE delivery Mon, Aug 11
Loading...
Reatan S8 Mini PC Gaming with Intel Core i9 12900H(14C/20T 5.0 GHz), 32GB DDR5 Dual Channel 1TB NVMe SSD, Mini Desktop Computer Triple Display Support 8K WiFi6 BT5.2 USB-C

Reatan S8 Mini PC Gaming with Intel Core i9 12900H(14C/20T 5.0 GHz), 32GB DDR5 Dual Channel 1TB NVMe SSD, Mini Desktop Computer Triple Display Support 8K WiFi6 BT5.2 USB-C

(8)
$865.00
FREE delivery Mon, Aug 11
Loading...
Mini Desktop PC i9-12900H 14 Core Up to 5.0GHz, Thdeukoty Mini Computer Windows 11 Pro (TPM2.0), 64G DDR4 RAM 2T NVME SSD, DP/HDMI/Type-C Triple Display, WiFi 6 Bluetooth5.1

Mini Desktop PC i9-12900H 14 Core Up to 5.0GHz, Thdeukoty Mini Computer Windows 11 Pro (TPM2.0), 64G DDR4 RAM 2T NVME SSD, DP/HDMI/Type-C Triple Display, WiFi 6 Bluetooth5.1

(0)
$979.00
FREE delivery Mon, Aug 11
Loading...
Fanless Mini PC 13th Gen Core i7 1355U(10C/12T), Win11 Pro Mini Desktop PC Dual 2.5G LAN Mini PC Fanless, Iris Xe Graphics, Dual HD+ DP Triple Display, USB-C, WiFi6, BT5.2, 64GB RAM 1TB NVME SSD

Fanless Mini PC 13th Gen Core i7 1355U(10C/12T), Win11 Pro Mini Desktop PC Dual 2.5G LAN Mini PC Fanless, Iris Xe Graphics, Dual HD+ DP Triple Display, USB-C, WiFi6, BT5.2, 64GB RAM 1TB NVME SSD

(12)
$1,212.00
FREE delivery Aug 21 - Sep 4
Loading...
Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

(74,910)
$169.97
FREE delivery Tue, Jun 17
50+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

(17)
$379.99
FREE delivery Sun, Aug 24
Loading...
CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intelยฎ LGA 1700, AMDยฎ AM5 and Older - White

CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intelยฎ LGA 1700, AMDยฎ AM5 and Older - White

(56)
$149.99$125.33
FREE delivery Sun, Aug 24
Loading...
CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit โ€“ Hardline Water Cooling Loop โ€“ XC7 Elite CPU Water Block โ€“ XD5 Elite D5 Pump Res โ€“ XR5 360mm Radiator โ€“ 3X QX120 RGB Fans

CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit โ€“ Hardline Water Cooling Loop โ€“ XC7 Elite CPU Water Block โ€“ XD5 Elite D5 Pump Res โ€“ XR5 360mm Radiator โ€“ 3X QX120 RGB Fans

(235)
$879.99
FREE delivery Sun, Aug 24
Loading...
Razer BlackShark V2 X Gaming Headset: 50mm Drivers - Cardioid Mic - Memory Foam Cushion - Lightweight- Comfortable, Noise Isolating Earcups - for PC, PS4, PS5, Switch - 3.5mm Audio Jack - Black ECOLOGO

Razer BlackShark V2 X Gaming Headset: 50mm Drivers - Cardioid Mic - Memory Foam Cushion - Lightweight- Comfortable, Noise Isolating Earcups - for PC, PS4, PS5, Switch - 3.5mm Audio Jack - Black ECOLOGO

(16,830)
$47.98$38.38
FREE delivery Sat, Nov 15
1K+ bought in past month
Loading...
Razer Universal Quick Charging Stand for Xbox Series X|S: Magnetic Secure Charging - Matches Forza Horizon 5 Limited Edition Xbox Wireless Controller - USB Powered - (Controller Sold Separately)

Razer Universal Quick Charging Stand for Xbox Series X|S: Magnetic Secure Charging - Matches Forza Horizon 5 Limited Edition Xbox Wireless Controller - USB Powered - (Controller Sold Separately)

(1,103)
$52.27$33.70
PrimeFREE delivery Sat, Jun 14