a Spring Boot application that connect to multiple PostgreSQL databases using JPA
The application manages Product
, Provider
, and ProductDetail
entities across two different databases
- Spring Boot 3.4.1
- Spring Data JPA
- PostgreSQL
- Gradle
- JDK 21
The application is structured to interact with two PostgreSQL databases:
- Database A: Contains the
Product
entity. - Database B: Contains the
Provider
andProductDetail
entities, which have relationships with theProduct
entity in Database A.