惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
A
About on SuperTechFans
量子位
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
Google DeepMind News
Google DeepMind News
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
U
Unit 42
D
DataBreaches.Net
博客园 - Franky
D
Docker
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Hugging Face - Blog
Hugging Face - Blog

博客园 - rottenapple

我遇到的Sqlserver2005 SSIS 的Bug SSIS导入Oracle中的性能问题 Excel内容不能正确倒入SSIS? 使用Oracle Generic Connectivity连接SqlServer asp.net下的用户权限管理模块设计 msdn也出现这种错误。。。 为Log4Net添加异常处理模块 - rottenapple - 博客园 ibatis.net的配置文件设计 The Visual Studio template information is out of date. asp.net 设计中的页面流程控制的一点想法(讨论贴) - rottenapple - 博客园 New job,New chance 使用强类型DataSet的好处 如何使应用程序只有一个实例在运行 在Framework1.0下同时连接SqlServer和Oracle的一些体会 VS2002 与 IIS6.0的一个bug 利用WSDL2JAVA实现JAVA调用.Net的Web Services(1) T_SQL中的事务处理 SqlCommand的ExecuteNonQuery()方法执行多条T-SQL语句 博客园的Bug
今天发现了ibatis.net的一个bug
rottenapple · 2007-11-06 · via 博客园 - rottenapple

实在懒得打字,就把我在mailgroup里的内容贴过来吧,从http://issues.apache.org/jira/browse/IBATISNET-249 可以看到。
哈哈,突然看到自己的名字,好玩。用了人家的东西,也算做点贡献吧,开源还是不错的。
      When I tried to use "extends" in parameterMap nodes, but it can't work.
      Then I debug into ibatis.
      In DomSqlMapBuilder.cs line 1794, I found this line:
        XmlNode superNode = _configScope.SqlMapConfigDocument.SelectSingleNode(ApplyMappingNamespacePrefix(XML_SEARCH_PARAMETER)+ attributeExtendMap +"']", _configScope.XmlNamespaceManager );

          I think SqlMapConfigDocument should be instead by SqlMapDocument.
          After I Changed it into SqlMapDocument, it worked well.
         Is it a bug of iBatis.net or I make a mistake in my config file?
         In my book.xml file, just like
       <parameterMaps>
          <parameterMap id="BookInsert-params"  extends ="BookCommon_params">…..
             <parameterMap id ="BookCommon_params" class="Book">...
           </parameterMaps>