mybatis创建对象流程

    xiaoxiao2021-03-25  135

    创建sqlSessionFactory(包括xml解析和绑定到MappedStatement)调用SqlSessionTemplate里的getMapper调用Configuration里的getMapper调用mapperRegistry里的getMapper调用mapperProxyFactory的newInstance方法创建MapperProxy代理类,并使用动态代理创建对象
    转载请注明原文地址: https://ju.6miu.com/read-7444.html

    最新回复(0)