From 48a472107353cc904c2afc163ce2d1970c2944ad Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Mon, 4 Jul 2022 21:44:31 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20mpower=20=EC=A0=81=EC=9A=A9=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C=20-=20=EC=84=A4=EC=A0=95=20=EB=B0=98=EC=98=81=3F=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/database/DataSourceConfig.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) 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;