摘要:        
IbatiS的一个小功能。在编写resultMap的时候,如果自己定义了一个数据库中并不对应的字段,比如是关联其他表的字段。则可以这样实现:<result property="type" column="type_id" select="Asset.getTypeById" />然后编写对应的select即可:  <select id="getTypeById" paramete...    阅读全文
posted @ 2010-03-22 08:43
echozhjun
阅读(346)
评论(0)
推荐(0)
        
 
                    
                 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号