The requirement is - In my application, having more than 5 databases, those are source and target databases. through UI page, User have to choose source database and target database and based on this data we have to fetch records from one database and store to target database (both having same tables).. In spring boot, is it possible to switch databases? if not then should i go with JDBC Programing?
-
Ye its possible to have multiple datasources. Feel free to google it out, couple answers can be found on SO as well.Antoniossss– Antoniossss2018-10-30 13:39:06 +00:00Commented Oct 30, 2018 at 13:39
-
3Possible duplicate of Spring Boot Multiple DatasourceAntoniossss– Antoniossss2018-10-30 13:39:46 +00:00Commented Oct 30, 2018 at 13:39
Add a comment
|