常言笑的家

          Spring, Hibernate, Struts, Ajax, RoR

          ibatis中的resultMap如何繼承

          1.<typeAlias alias="Domain" type="com.xxx.Domain" />  
          2.
          <resultMap id = "domain" type = "Domain">  
          3.   
          <result property="id" column="id" />  
          4.
          </resultMap>  
          5.
          <resultMap id = "extraDomain" extends="domain">  
          6.  
          <result property="name" column="name"/>  
          7.
          </resultMap>  

          posted on 2010-10-08 20:05 常言笑 閱讀(1736) 評論(0)  編輯  收藏 所屬分類: 技術總結

          My Links

          Blog Stats

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 建水县| 马山县| 博客| 逊克县| 郓城县| 汽车| 巧家县| 连云港市| 饶平县| 常州市| 顺昌县| 榆中县| 宝清县| 香港 | 太康县| 兴业县| 旬阳县| 名山县| 新晃| 瓮安县| 威远县| 象州县| 塔河县| 唐山市| 恭城| 安龙县| 义马市| 阿拉善盟| 留坝县| 灯塔市| 吉木乃县| 仁寿县| 东辽县| 美姑县| 柳林县| 靖西县| 紫阳县| 科技| 基隆市| 天台县| 德安县|