One war file multiple mysql data bases in Spring boot

I am developing a web application with Spring boot. This application is going to be use for diferents companies that will have their own MySQL database and their own file but all of them are going to use the same war file. I don’t know how do it, If someome can tell me or guide me how I can do that with spring boot I’ll be very gratefull.

Add Comment
1 Answer(s)

Develop your Spring boot application to load configuration based on the profile.

Different companies can use their names as an identifier to load the configuration.

Answered on July 16, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.