• Reader reader = Resources.getResourceAsReader(“org/apache/ibatis/logging/mybatis-config.xml”)

    • SqlSessionFactoryBuilder.build(reader);

      • XMLConfigBuilder parser = new XMLConfigBuilder(reader, environment, properties);
      • Configuration config = parser.parse();
      • new DefaultSqlSessionFactory(config);
    • SqlSessionFactory;

    image.png