no

no

BlogJava 首页 新随笔 联系 聚合 管理
  6 Posts :: 2 Stories :: 0 Comments :: 0 Trackbacks
hbm
 1<hibernate-mapping>
 2    <class name="com.hgs.cmb.hibernate.vo.TSysUser" table="t_sys_user" schema="dbo" catalog="CMB_Message">
 3        <id name="szUserId" type="java.lang.String">
 4            <column name="sz_user_id" length="8" />
 5            <generator class="assigned" />
 6        </id>
 7        <property name="szUserName" type="java.lang.String">
 8            <column name="sz_user_name" length="10" not-null="true" />
 9        </property>
10        <property name="szPassword" type="java.lang.String">
11            <column name="sz_password" length="50" />
12        </property>
13        <property name="imPhoto" type="java.sql.Blob" lazy="true">
14            <column name="im_photo"/>
15        </property>
16        <property name="szOrgan" type="java.lang.String">
17            <column name="sz_organ" length="6" not-null="true" />
18        </property>
19        <property name="szStation" type="java.lang.String">
20            <column name="sz_station" length="6" not-null="true" />
21        </property>
22        <property name="szSex" type="java.lang.String">
23            <column name="sz_sex" length="4" />
24        </property>
25        <property name="szBirthday" type="java.lang.String">
26            <column name="sz_birthday" length="10" />
27        </property>
28        <property name="szJob" type="java.lang.String">
29            <column name="sz_job" length="6" />
30        </property>
31        <property name="szEduExperience" type="java.lang.String">
32            <column name="sz_edu_experience" length="6" />
33        </property>
34        <property name="szGraduationSchool" type="java.lang.String">
35            <column name="sz_graduation_school" length="50" />
36        </property>
37        <property name="szOfficeHolder" type="java.lang.String">
38            <column name="sz_office_holder" length="6" />
39        </property>
40        <property name="szEmployeeType" type="java.lang.String">
41            <column name="sz_employee_type" length="6" />
42        </property>
43        <property name="szEntryBankDate" type="java.lang.String">
44            <column name="sz_entry_bank_date" length="10" />
45        </property>
46        <property name="szWorkDate" type="java.lang.String">
47            <column name="sz_work_date" length="10" />
48        </property>
49        <property name="szIdCardNumber" type="java.lang.String">
50            <column name="sz_id_card_number" length="12" />
51        </property>
52        <property name="szMarriageState" type="java.lang.String">
53            <column name="sz_marriage_state" length="6" />
54        </property>
55        <property name="szFamilyAddress" type="java.lang.String">
56            <column name="sz_family_address" length="100" />
57        </property>
58        <property name="szLifeAddress" type="java.lang.String">
59            <column name="sz_life_address" length="100" />
60        </property>
61        <property name="szFamilyTel" type="java.lang.String">
62            <column name="sz_family_tel" length="12" />
63        </property>
64        <property name="szMobilePhone" type="java.lang.String">
65            <column name="sz_mobile_phone" length="12" />
66        </property>
67        <property name="szRegState" type="java.lang.String">
68            <column name="sz_reg_state" length="1" />
69        </property>
70        <property name="szUserRole" type="java.lang.String">
71            <column name="sz_user_role" length="2" />
72        </property>
73    </class>
74</hibernate-mapping>
posted on 2008-06-17 07:36 yasoo 阅读(165) 评论(0)  编辑  收藏

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


网站导航:
博客园   IT新闻   Chat2DB   C++博客   博问