DB : Spring boot Database Switching | No Code Change , but DB change from MySQL to Postgres to H2

preview_player
Показать описание
Hello everyone , hope you all are doing great . So , in this video we will learn how to do Database Switching , without changing any Java Code how we can Switch from MySQL to Postgres to H2 Database .

Hope that you people like the video , it takes a lot of efforts to Oversimplify the Topics and represent on the video . Hoping that my Channel gets your support .

Like , share and comment .

Would love to read your Comments and answer back .

Do Support the channel by Hitting the SUBSCRIBE Button .

Thank You . Happy Learning .
Рекомендации по теме
Комментарии
Автор

What about primary key generation like autoincrement. Every DB has their own strategy to generate autoincrement primary key.

mahaveerkolekar
Автор

hi can I get the h2 console interface when I use mysql database? thanks

ebola
Автор

In this video u have deleted the previous db source i.e db cred like user, pwd, dialect etc and commenting in pom.xml.
Is it possible that we have two datasource of h2 and postgres db and both are also present in pom.xml .

Basically I want to achieve the switching between h2 and postgres with having both datasource in app.properties and use one as default and any mechanism through which we can switch according to ur need

mohitpandey
Автор

Great Video
Can u plz make one video on how in application.propeties db id & pwd are secured in prod?

nenuanenenuane
Автор

Is it possible to simultaneously have 2 data source configured ?? Here at a time you are using only one

ogdeihf
Автор

please upload a video on jwt with role base authentication

anupambiswas