mirror of
https://gitee.com/ChinaLym/shoulder-platform.git
synced 2025-12-30 11:02:26 +00:00
暂时下线 beecp
This commit is contained in:
@@ -14,14 +14,14 @@ import javax.sql.DataSource;
|
|||||||
*
|
*
|
||||||
* @author lym
|
* @author lym
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
//@Configuration(proxyBeanMethods = false)
|
||||||
@ConditionalOnClass(cn.beecp.BeeDataSource.class)
|
//@ConditionalOnClass(cn.beecp.BeeDataSource.class)
|
||||||
@ConditionalOnProperty(name = "spring.datasource.type", havingValue = "cn.beecp.BeeDataSource", matchIfMissing = true)
|
//@ConditionalOnProperty(name = "spring.datasource.type", havingValue = "cn.beecp.BeeDataSource", matchIfMissing = true)
|
||||||
public class BeeCpDataSourceAutoConfiguration {
|
//public class BeeCpDataSourceAutoConfiguration {
|
||||||
|
//
|
||||||
@Bean
|
// @Bean
|
||||||
@ConfigurationProperties(prefix = "spring.datasource")
|
// @ConfigurationProperties(prefix = "spring.datasource")
|
||||||
public DataSource beeDataSource() throws BeansException {
|
// public DataSource beeDataSource() throws BeansException {
|
||||||
return new cn.beecp.BeeDataSource();
|
// return new cn.beecp.BeeDataSource();
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
Reference in New Issue
Block a user