-3

I have a requirement to connect to two databases using spring boot. I can able to connect to two different databases using spring jpa, but I want to connect two databases one with spring jpa and another with spring jdbc

Madhava
  • 9
  • 2

1 Answers1

0

I got the solution. I missed to add ComponentScan for JDBC connection configuration and removed @Primary annotation

Madhava
  • 9
  • 2