All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.feingto.cloud.config.mybatis.EnableMybatisAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 2.3.8.RELEASE
Show newest version
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