com.feingto.cloud.config.mybatis.EnableMybatisAutoConfiguration Maven / Gradle / Ivy
package com.feingto.cloud.config.mybatis;
import java.lang.annotation.*;
// @formatter:off
/**
* 注解启用Mybatis自动配置 @EnableMybatisAutoConfiguration
*
* 配置文件 application.yml
* spring:
* mybatis:
* mapper-locations: classpath:mapper/**\/*Mapper.xml
* type-aliases-package: com.feingto.cloud.domain
* configuration:
* cache-enabled: true
* lazy-loading-enabled: false
* aggressive-lazyLoading: true
* default-fetch-size: 100
*
* @author longfei
*/
// @formatter:on
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EnableMybatisAutoConfiguration {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy