Spring Boot, Data Migration, Java, Programming, Technology.
sourceTransactionManager( final @Qualifier("sourceEntityManagerFactory") LocalContainerEntityManagerFactoryBean sourceEntityManagerFactory) { return new JpaTransactionManager(sourceEntityManagerFactory.getObject()); } } In this configuration, the @Primary annotation is used to designate the primary