diff --git a/src/main/java/com/xit/core/config/database/DataSourceConfig.java b/src/main/java/com/xit/core/config/database/DataSourceConfig.java index 4fe852b..785ee38 100644 --- a/src/main/java/com/xit/core/config/database/DataSourceConfig.java +++ b/src/main/java/com/xit/core/config/database/DataSourceConfig.java @@ -46,19 +46,19 @@ import java.util.HashSet; import java.util.Map; @Slf4j -@Configuration -@EnableJpaAuditing -@EnableTransactionManagement -@EnableJpaRepositories( - transactionManagerRef = "jpaTransactionManager", - basePackages = {"com.xit.biz.**.repository", "com.xit.core.**.repository"} -) -// Mybatis -@MapperScan( - nameGenerator = CustomBeanNameGenerator.class, - basePackages = DataSourceConfig.PACKAGE, - sqlSessionFactoryRef = "sqlSessionFactory" -) +//@Configuration +//@EnableJpaAuditing +//@EnableTransactionManagement +//@EnableJpaRepositories( +// transactionManagerRef = "jpaTransactionManager", +// basePackages = {"com.xit.biz.**.repository", "com.xit.core.**.repository"} +//) +//// Mybatis +//@MapperScan( +// nameGenerator = CustomBeanNameGenerator.class, +// basePackages = DataSourceConfig.PACKAGE, +// sqlSessionFactoryRef = "sqlSessionFactory" +//) public class DataSourceConfig { @Value("${spring.jpa.properties.hibernate.hbm2ddl.auto}") String hbm2ddlAuto;