H5W3
当前位置:H5W3 > 其他技术问题 > 正文

有人考虑过mybatis动态增加mappedStatement么?

// 出处
// mybatis-3.4.4.jar
// org.apache.ibatis.builder.xml.XMLMapperBuilder line:132
private void buildStatementFromContext(List<XNode> list, String requiredDatabaseId) {
    for (XNode context : list) {
      final XMLStatementBuilder statementParser = new XMLStatementBuilder(configuration, builderAssistant, context, requiredDatabaseId);
      try {
        statementParser.parseStatementNode();
      } catch (IncompleteElementException e) {
        configuration.addIncompleteStatement(statementParser);
      }
    }
  }

本文地址:H5W3 » 有人考虑过mybatis动态增加mappedStatement么?

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址