Namespaces enable the interface bindings
scope
xml/java -> SqlSessionFactory -> SqlSession -> session.selectOne(...)/session.getMapper(...)/注解
通过配置文件:
通过注解: