JSP社区论坛系统设计论文+任务书+文献综述+外文文献 第7页
<param name="sequence">SEQ_COMMON</param></generator>
</id>
<many-to-one name="graderecord" class="Graderecord" fetch="select">
<column name="GRADEID" precision="22" scale="0" />
</many-to-one>
<property name="nickname" type="java.lang.String">
<column name="NICKNAME" length="20" not-null="true" unique="true" />
</property>
<property name="password" type="java.lang.String">
辣-文^论'文.网
http://www.751com.cn .lang.Long">
<column name="AGE" precision="22" scale="0" not-null="true" />
</property>
<property name="email" type="java.lang.String">
<column name="EMAIL" length="100" not-null="true" />
</property>
<property name="provincecity" type="java.lang.String">
<column name="PROVINCECITY" length="20" />
</property>
<property name="address" type="java.lang.String">
<column name="ADDRESS" length="200" />
</property>
<property name="phone" type="java.lang.String">
<column name="PHONE" length="50" />
</property>
<property name="passwordquestion" type="java.lang.String">
<column name="PASSWORDQUESTION" length="200" />
</property>
<property name="passwordanswer" type="java.lang.String">
<column name="PASSWORDANSWER" length="200" />
</property>
<property name="recommender" type="java.lang.String">
<column name="RECOMMENDER" length="20" />
</property>
<property name="point" type="java.lang.Long">
<column name="POINT" precision="22" scale="0" />
</property>
<property name="registerdate" type="java.util.Date">
<column name="REGISTERDATE" length="7" />
</property>
<property name="latestdate" type="java.util.Date">
<column name="LATESTDATE" length="7" />
</property>
<property name="status" type="java.lang.Long">
<column name="STATUS" precision="22" scale="0" />
</property>
<property name="isonline" type="java.lang.Long">
<column name="ISONLINE" precision="22" scale="0" />
</property>
<set name="articles" inverse="true">
<key>
<column name="MEMBERINFOID" precision="22" scale="0" not-null="true" />
</key>
<one-to-many class="Article" />
</set>
<one-to-one name="memberSpace" cascade="" outer-join="true" property-ref="memberinfo" class="Memberspace">
</one-to-one>
</class></hibernate-mapping>
2. Pointaction和Pointaction.hbm.xml
(1)Pointaction辣-文^论'文.网http://www.751com.cn
public class PointAction extends BaseBean {
private static final long serialVersionUID = -6922422749705967179L;
private Long id;
private String actionname;
private Long point;
private String description;
@SuppressWarnings("unchecked")
private Set pointrecords = new HashSet(0);
public PointAction() {
}
public PointAction(Long point) {
this.point = point;
}
public PointAction(String actionname, Long point, String description, Set pointrecords) {
this.actionname = actionname;
this.point = point;
this.description = description;
this.pointrecords = pointrecords;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
//省略了其他属性的get,set方法
}
(2)Pointaction.hbm.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD
上一页 [1] [2] [3] [4] [5] [6] [7]
JSP社区论坛系统设计论文+任务书+文献综述+外文文献 第7页下载如图片无法显示或论文不完整,请联系qq752018766