no
no
BlogJava
首页
新随笔
联系
聚合
管理
6 Posts :: 2 Stories :: 0 Comments :: 0 Trackbacks
常用链接
我的随笔
我的评论
我的参与
留言簿
(1)
给我留言
查看公开留言
查看私人留言
随笔档案
2008年6月 (6)
文章档案
2008年6月 (2)
搜索
最新评论
阅读排行榜
1. TSysUserDAO(221)
2. struts(220)
3. applicationContext(204)
4. hbm(165)
5. TSysUserService(164)
评论排行榜
1. struts(0)
2. TSysUserDAO(0)
3. hbm(0)
4. TSysUser(0)
5. applicationContext(0)
2008年6月17日
#
struts
摘要: 1<struts-config> 2 <form-beans > 3 <form-bean name="registForm" type="com.hgs.cmb.form...
阅读全文
posted @
2008-06-17 07:51
yasoo 阅读(220) |
评论 (0)
|
编辑
收藏
TSysUserDAO
摘要: 1public class TSysUserDAO extends HibernateDaoSupport implements ITSysUserDAO { 2 //插入  ...
阅读全文
posted @
2008-06-17 07:40
yasoo 阅读(221) |
评论 (0)
|
编辑
收藏
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 @
2008-06-17 07:36
yasoo 阅读(165) |
评论 (0)
|
编辑
收藏
TSysUser
1
public class TSysUser implements java.io.Serializable {
2
private String szUserId;
3
private String szUserName;
4
private String szPassword;
5
private Blob imPhoto;
6
private String szOrgan;
7
private String szStation;
8
private String szSex;
9
private String szBirthday;
10
private String szJob;
11
private String szEduExperience;
12
private String szGraduationSchool;
13
private String szOfficeHolder;
14
private String szEmployeeType;
15
private String szEntryBankDate;
16
private String szWorkDate;
17
private String szIdCardNumber;
18
private String szMarriageState;
19
private String szFamilyAddress;
20
private String szLifeAddress;
21
private String szFamilyTel;
22
private String szMobilePhone;
23
private String szRegState;
24
private String szUserRole;
25
26
public String getSzUserId() {
27
return this.szUserId;
28
}
29
public void setSzUserId(String szUserId) {
30
this.szUserId = szUserId;
31
}
32
public String getSzUserName() {
33
return this.szUserName;
34
}
35
public void setSzUserName(String szUserName) {
36
this.szUserName = szUserName;
37
}
38
public Blob getImPhoto() {
39
return this.imPhoto;
40
}
41
public void setImPhoto(Blob imPhoto) {
42
this.imPhoto = imPhoto;
43
}
44
public String getSzOrgan() {
45
return this.szOrgan;
46
}
47
public void setSzOrgan(String szOrgan) {
48
this.szOrgan = szOrgan;
49
}
50
public String getSzStation() {
51
return this.szStation;
52
}
53
public void setSzStation(String szStation) {
54
this.szStation = szStation;
55
}
56
public String getSzSex() {
57
return this.szSex;
58
}
59
public void setSzSex(String szSex) {
60
this.szSex = szSex;
61
}
62
public String getSzBirthday() {
63
return this.szBirthday;
64
}
65
public void setSzBirthday(String szBirthday) {
66
this.szBirthday = szBirthday;
67
}
68
public String getSzJob() {
69
return this.szJob;
70
}
71
public void setSzJob(String szJob) {
72
this.szJob = szJob;
73
}
74
public String getSzEduExperience() {
75
return this.szEduExperience;
76
}
77
public void setSzEduExperience(String szEduExperience) {
78
this.szEduExperience = szEduExperience;
79
}
80
public String getSzGraduationSchool() {
81
return this.szGraduationSchool;
82
}
83
public void setSzGraduationSchool(String szGraduationSchool) {
84
this.szGraduationSchool = szGraduationSchool;
85
}
86
public String getSzOfficeHolder() {
87
return this.szOfficeHolder;
88
}
89
public void setSzOfficeHolder(String szOfficeHolder) {
90
this.szOfficeHolder = szOfficeHolder;
91
}
92
public String getSzEmployeeType() {
93
return this.szEmployeeType;
94
}
95
public void setSzEmployeeType(String szEmployeeType) {
96
this.szEmployeeType = szEmployeeType;
97
}
98
public String getSzEntryBankDate() {
99
return this.szEntryBankDate;
100
}
101
public void setSzEntryBankDate(String szEntryBankDate) {
102
this.szEntryBankDate = szEntryBankDate;
103
}
104
public String getSzWorkDate() {
105
return this.szWorkDate;
106
}
107
public void setSzWorkDate(String szWorkDate) {
108
this.szWorkDate = szWorkDate;
109
}
110
public String getSzIdCardNumber() {
111
return this.szIdCardNumber;
112
}
113
public void setSzIdCardNumber(String szIdCardNumber) {
114
this.szIdCardNumber = szIdCardNumber;
115
}
116
public String getSzMarriageState() {
117
return this.szMarriageState;
118
}
119
public void setSzMarriageState(String szMarriageState) {
120
this.szMarriageState = szMarriageState;
121
}
122
public String getSzFamilyAddress() {
123
return this.szFamilyAddress;
124
}
125
public void setSzFamilyAddress(String szFamilyAddress) {
126
this.szFamilyAddress = szFamilyAddress;
127
}
128
public String getSzLifeAddress() {
129
return this.szLifeAddress;
130
}
131
public void setSzLifeAddress(String szLifeAddress) {
132
this.szLifeAddress = szLifeAddress;
133
}
134
public String getSzFamilyTel() {
135
return this.szFamilyTel;
136
}
137
public void setSzFamilyTel(String szFamilyTel) {
138
this.szFamilyTel = szFamilyTel;
139
}
140
public String getSzMobilePhone() {
141
return this.szMobilePhone;
142
}
143
public void setSzMobilePhone(String szMobilePhone) {
144
this.szMobilePhone = szMobilePhone;
145
}
146
public String getSzRegState() {
147
return this.szRegState;
148
}
149
public void setSzRegState(String szRegState) {
150
this.szRegState = szRegState;
151
}
152
public String getSzUserRole() {
153
return this.szUserRole;
154
}
155
public void setSzUserRole(String szUserRole) {
156
this.szUserRole = szUserRole;
157
}
158
public String getSzPassword() {
159
return szPassword;
160
}
161
public void setSzPassword(String szPassword) {
162
this.szPassword = szPassword;
163
}
164
}
posted @
2008-06-17 07:31
yasoo 阅读(155) |
评论 (0)
|
编辑
收藏
applicationContext
摘要: 1 <bean id="sessionFactory" 2 class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"&...
阅读全文
posted @
2008-06-17 07:28
yasoo 阅读(204) |
评论 (0)
|
编辑
收藏
TSysUserService
摘要: 1public class TSysUserService implements ITSysUserService { 2 private ITSysUserDAO sysUserDao;  ...
阅读全文
posted @
2008-06-17 07:19
yasoo 阅读(164) |
评论 (0)
|
编辑
收藏
仅列出标题
Powered by:
BlogJava
Copyright © yasoo