//package com.yeejoin.amos.api.openapi.config;
//
//import org.springframework.beans.factory.annotation.Qualifier;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.Primary;
//import org.springframework.jdbc.datasource.DataSourceTransactionManager;
//
//import javax.sql.DataSource;
//
//
//@Configuration
//public class DataSourceConfig {
////    @Bean
////    public DataSourceTransactionManager transactionManager(DataSource dataSource) {
////        return new DataSourceTransactionManager(dataSource);
////    }
//
////    @Bean
////    @Primary
////    public DataSourceTransactionManager openapiTransactionManager(@Qualifier("openapiDataSource") DataSource openapiDataSource) {
////        return new DataSourceTransactionManager(openapiDataSource);
////    }
////
////    @Bean(name = "tzsTransactionManager")
////    public DataSourceTransactionManager tzsTransactionManager(@Qualifier("tzsDataSource") DataSource tzsDataSource) {
////        return new DataSourceTransactionManager(tzsDataSource);
////    }
//}
