@ConfigurationProperties(prefix="mybatis") public class MybatisProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MybatisProperties.MapperScanner
自动扫描 Mapper Interface 配置
|
| Modifier and Type | Field and Description |
|---|---|
static String |
MYBATIS_MAPPER_SCANNER_PREFIX
Mybatis 自动扫描属性配置的前缀名
|
static String |
MYBATIS_PREFIX
Mybatis 属性配置的前缀名
|
| Constructor and Description |
|---|
MybatisProperties() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource[] |
resolveMapperLocations()
获取 MyBatis xml 文件
|
public static final String MYBATIS_PREFIX
public static final String MYBATIS_MAPPER_SCANNER_PREFIX
Copyright © 2018–2019. All rights reserved.