@ConfigurationProperties(value="sql") @Configuration @RefreshScope public class SqlProperties extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private boolean |
dynamicTenantDatabase
动态创建租户数据库,租户id动态路由开关
|
private boolean |
explainIs
SQL分析,将SQL拿来做explain解释器
|
private boolean |
log
是否开启性能分析
默认不开启,默认开发环境开启
|
private long |
maxTime
SQL 执行最大时长,毫秒,如果超长会有提示
|
| 构造器和说明 |
|---|
SqlProperties() |
Copyright © 2022 jvs. All rights reserved.