package com.njcn.oracle.mybatis.config;

import com.njcn.oracle.mybatis.handler.BatchInjector;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MybatisConfig {

    /***
     * 自定义注册器，处理批量插入
     * @author hongawen
     * @date 2023/5/30 14:53
     * @return BatchInjector
     */
    @Bean
    public BatchInjector BatchInjector() {
        return new BatchInjector();
    }

}
