Database migration using Flyway + Spring boot + Hibernate + SQL

#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 - / discord
💯 Join our Facebook Group - / 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?

Пікірлер: 41

  • @anuradhanisharanga719
    @anuradhanisharanga71922 күн бұрын

    Great video. Thank you a lot!

  • @BoualiAli

    @BoualiAli

    22 күн бұрын

    Thank you too!

  • @ascar66
    @ascar66 Жыл бұрын

    Everything worked well, thank you!

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Happy to know that

  • @lts8683
    @lts8683 Жыл бұрын

    Thank you a lot. Yes, we need advanced part

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    My pleasure

  • @amanuelkahsay3605
    @amanuelkahsay3605 Жыл бұрын

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

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Working on it

  • @massoudmassoudi1050
    @massoudmassoudi1050 Жыл бұрын

    Great video, waiting for advanced part of Flyway.❤

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Thank you ❤️

  • @imenebelkhir4907
    @imenebelkhir4907Ай бұрын

    Thank you for your good accent

  • @BoualiAli

    @BoualiAli

    Ай бұрын

    So nice of you

  • @wissemgrari
    @wissemgrari10 ай бұрын

    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 🇹🇳

  • @BoualiAli

    @BoualiAli

    10 ай бұрын

    Glad it helped!

  • @williamdahl1495

    @williamdahl1495

    8 ай бұрын

    This was exactly my issue as well. Glad to see I was not the only one 😆

  • @OleksandrProkopenko_ua
    @OleksandrProkopenko_ua9 ай бұрын

    Great video, waiting for advanced part of Flyway))

  • @BoualiAli

    @BoualiAli

    9 ай бұрын

    As soon as possible

  • @tommasodesica4398
    @tommasodesica43989 ай бұрын

    Thanks for this, it helps me!

  • @BoualiAli

    @BoualiAli

    9 ай бұрын

    My pleasure!

  • @ebenezerbuabeng6961
    @ebenezerbuabeng6961 Жыл бұрын

    Great Video👍. Solved my problem

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Happy to help always

  • @mekniiheb682
    @mekniiheb682 Жыл бұрын

    good work

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Thank youuu

  • @Joker3884
    @Joker38847 ай бұрын

    Thank you so much !!!))

  • @BoualiAli

    @BoualiAli

    7 ай бұрын

    You are welcome!

  • @dinobulja
    @dinobulja Жыл бұрын

    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.

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    I will do it. thanks for mentionning

  • @AA-nu7ht
    @AA-nu7ht Жыл бұрын

    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.

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Interesting topic, I will look at it and maybe make a video about that

  • @user-ql1rg9mj9d
    @user-ql1rg9mj9d Жыл бұрын

    good good

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Thank youuu

  • @user-gs6iv5vj3n
    @user-gs6iv5vj3n11 ай бұрын

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

  • @BoualiAli

    @BoualiAli

    11 ай бұрын

    Great suggestion!

  • @sammmyki
    @sammmyki Жыл бұрын

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

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Noted

  • @khanamnguyen6859
    @khanamnguyen68599 ай бұрын

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

  • @BoualiAli

    @BoualiAli

    8 ай бұрын

    This means that Flyway did not execute the scripts. Maybe you made a typo... Check the migration table to see what scripts were executed

  • @sidneymonteiro3670
    @sidneymonteiro3670 Жыл бұрын

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

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    Mic was upgraded after that video

  • @BoualiAli

    @BoualiAli

    Жыл бұрын

    The problem is only with the introduction