首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

ibatis3 一对一联系关系

2012-09-11 
ibatis3 一对一关联?????result propertyuser.name columnusername/就好result propertyuser.n

ibatis3 一对一关联

????

?

<result property="user.name" column="username"  /> 
就好<result property="user.name" column="username"  /> 
就好
<result property="user.id" column="userid"  /> 
<result property="user.name" column="username"  /> 
3 楼 qq123zhz 2010-08-12   还可以这么玩?不过我用<association >标签也实现了。 4 楼 mqlfly2008 2010-08-29   以前看了一个帖子,有说用对象。属性的!当时很是怀疑,原来是ibaits3的写法