package com.cesgroup.homwork.mybatis.sample.config;

import com.cesgroup.homwork.mybatis.sample.interceptor.SqlLogInterceptor;
import com.cesgroup.homwork.mybatis.sample.type.MapTypeHandler;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Properties;

@Configuration
public class MyBatisConfig {
  @Bean
  MapTypeHandler mapTypeHandler() {
    return new MapTypeHandler();
  }

}