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
Great video. Thank you a lot!
@BoualiAli
22 күн бұрын
Thank you too!
Everything worked well, thank you!
@BoualiAli
Жыл бұрын
Happy to know that
Thank you a lot. Yes, we need advanced part
@BoualiAli
Жыл бұрын
My pleasure
Super. Great video for teaching flyway basics. Waiting for advanced part
@BoualiAli
Жыл бұрын
Working on it
Great video, waiting for advanced part of Flyway.❤
@BoualiAli
Жыл бұрын
Thank you ❤️
Thank you for your good accent
@BoualiAli
Ай бұрын
So nice of you
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
10 ай бұрын
Glad it helped!
@williamdahl1495
8 ай бұрын
This was exactly my issue as well. Glad to see I was not the only one 😆
Great video, waiting for advanced part of Flyway))
@BoualiAli
9 ай бұрын
As soon as possible
Thanks for this, it helps me!
@BoualiAli
9 ай бұрын
My pleasure!
Great Video👍. Solved my problem
@BoualiAli
Жыл бұрын
Happy to help always
good work
@BoualiAli
Жыл бұрын
Thank youuu
Thank you so much !!!))
@BoualiAli
7 ай бұрын
You are welcome!
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
Жыл бұрын
I will do it. thanks for mentionning
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
Жыл бұрын
Interesting topic, I will look at it and maybe make a video about that
good good
@BoualiAli
Жыл бұрын
Thank youuu
Nice video could please do a video on multi tenant shared database separated schema
@BoualiAli
11 ай бұрын
Great suggestion!
Can you make a tutorial on liquibase and how to get back or undo changes (go back to the previous db version) . Thanks
@BoualiAli
Жыл бұрын
Noted
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
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
By golly! Wear a better microphone! The audio is awful.
@BoualiAli
Жыл бұрын
Mic was upgraded after that video
@BoualiAli
Жыл бұрын
The problem is only with the introduction