Spring Boot, Data Migration, Java, Programming, Technology.
'source' database } @Repository @Transactional("targetTransactionManager") public interface TargetUserRepository extends JpaRepository<User, Long> { // Repository methods here, operating on the 'target' database } By using the @Transactional annotation with the specific transaction manager, you