...
|
...
|
@@ -8,7 +8,6 @@ import org.springframework.context.annotation.Configuration; |
|
|
import org.springframework.context.annotation.Primary;
|
|
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
|
|
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.persistence.EntityManager;
|
...
|
...
|
@@ -16,7 +15,6 @@ import javax.sql.DataSource; |
|
|
import java.util.Properties;
|
|
|
|
|
|
@Configuration
|
|
|
@EnableTransactionManagement
|
|
|
@EnableJpaRepositories(
|
|
|
entityManagerFactoryRef = "entityManagerFactoryPrimary",
|
|
|
basePackages = {"com.yoho.datasync.consumer.dal.repository.pcms"})
|
...
|
...
|
|