Spring Boot Multi-Database Configuration: Connecting to Multiple MySQL Databases Multiple datasource

  Рет қаралды 6,031

TrendingCode

TrendingCode

Күн бұрын

Пікірлер: 6
@VinodhNBK
@VinodhNBK 11 ай бұрын
I am getting below error. Any idea? Your input is greatly appreciated. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
@revanthgoud8129
@revanthgoud8129 7 ай бұрын
How to auto create table I have used spring.jpa.generate-ddl=true but it s not working
@VinodhNBK
@VinodhNBK 11 ай бұрын
I was able to resolve the previous error. However, when i try to make API call, I see null values are getting added in the table except the ID column. Any idea where I am doing wrong?
@laijie9866
@laijie9866 10 ай бұрын
Check if you are using the repository properly, if so, then maybe it could be from the requests that you are doing if the controller is not storing the data
@pranoydas9654
@pranoydas9654 10 ай бұрын
Why the tables are not generated automatically?
@razatech22
@razatech22 5 ай бұрын
Connect with two different databases i.e. mysql &postgreSQL
Configuring Multiple Datasources in Spring Boot (Step-by-Step Guide)
24:49
Java Tech Solutions
Рет қаралды 1,8 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 45 МЛН
How can we connect to multiple databases in spring boot?
19:01
Dive Into Development
Рет қаралды 2,4 М.
Multi-tenant Architecture for SaaS
11:07
CodeOpinion
Рет қаралды 123 М.
Java Database Connectivity | JDBC
20:34
Telusko
Рет қаралды 354 М.
Spring Data JPA
28:28
Telusko
Рет қаралды 25 М.