I have service S1 , S2 , S3 which share common database in config server so i configure below properties in config server properties file and all service read this configuration and initialized jpa repository. now i have service S4 which has different database so how to configure that service to initialized jpa repository.
spring.datasource.url=......
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.properties.hibernate.format_sql=true