feat: mpower 적용 완료 - 설정 반영??

dev
Jonguk. Lim 2 years ago
parent ce0bada846
commit 48a4721073

@ -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;

Loading…
Cancel
Save