Database migration using Flyway + Spring boot + Hibernate + SQL

preview_player
Показать описание

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

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?
Рекомендации по теме
Комментарии
Автор

God bless your family, man.I just trying to make simple db migration for 5 hours, and every time having the exceptions, but you just saved my ass.

nikitos
Автор

Super. Great video for teaching flyway basics. Waiting for advanced part

amanuelkahsay
Автор

This video just saved me today, I've been struggling to insert data with postman after the migration and I got this sequences errors.
Thanks man keep going 🇹🇳

wissemgrari
Автор

Great video, waiting for advanced part of Flyway.❤

massoudmassoudi
Автор

Thank you a lot.
Yes, we need advanced part

lts
Автор

You should have a video explaining the topics you introduced in this one. For example, you mentioned not to delete database management to tools/application, handling different environments such as DEV, TEST, PROD, handling release dates. You kind of made it look like Flyway will handle these for you and made it look like you will do this in this video but there was no mentioning of it after that.

dinobulja
Автор

Great video, waiting for advanced part of Flyway))

OleksandrProkopenko_ua
Автор

Great video ! Useful for my first experience with Flyway :)

But one issue with this method is that you can't test your code, this looks more like a final script that you send. Let's say I am currently developing a script. I would like to test it before and not create an infinity of sql file for each and every changes I come up with. I think it will be nice to introduce a way of testing.

AA-nuht
Автор

Great video!!Eagerly waiting for the advance tutorial

madhav
Автор

Nice video could please do a video on multi tenant shared database separated schema

MohamedBenTaher-zi
Автор

Hello, so it's means that if i writed some username and password info for postgreSQL in properties. Than for flyway "user" and "password" i should write from DB. Are they similar, or db and flyway will have different user and password db ?

kensheesh
Автор

Can you make a tutorial on liquibase and how to get back or undo changes (go back to the previous db version) . Thanks

sammmyki
Автор

Hi Sir,
I still get the error Caused by: Schema-validation: missing table, it seems my flyway is not running before program initialization, I renamed the folder, followed all everything you do

khanamnguyen
Автор

By golly! Wear a better microphone! The audio is awful.

sidneymonteiro
visit shbcf.ru