复制代码 代码如下:
<hibernate-mapping>
<class table="sortp" catalog="shjdc">
<id type="java.lang.Integer">
<column />
<generator />
</id>
<property type="java.lang.String">
<column length="40" not-null="true" />
</property>
<set inverse="true" cascade="all" lazy="true">
<key>
<column not-null="true" />
</key>
<one-to-many />
</set>
</class>
</hibernate-mapping>
新闻热点
疑难解答