zhyiwww
用平实的笔,记录编程路上的点点滴滴………
posts - 536,comments - 394,trackbacks - 0


[1]
 <id name="poiId" type="java.lang.Long">
            <column name="POI_ID" precision="22" scale="0" />
            <generator class="assigned" />
        </id>
       
    
        <many-to-one name="districtId" class="com.csc.poimanager.dao.TcDistrict"  update="true">
            <column name="DISTRICT_ID" length="6"></column>
        </many-to-one>

       
[2]
   
private TcDistrict districtId;

    public TcDistrict getDistrictId() {
        return this.districtId;
    }

    public void setDistrictId(TcDistrict districtId) {
        this.districtId = districtId;
    }

[3]




|----------------------------------------------------------------------------------------|
                           版权声明  版权所有 @zhyiwww
            引用请注明来源 http://www.blogjava.net/zhyiwww   
|----------------------------------------------------------------------------------------|
posted on 2009-01-09 13:21 zhyiwww 阅读(651) 评论(0)  编辑  收藏 所属分类: j2ee

只有注册用户登录后才能发表评论。


网站导航: