日期:2014-05-18 浏览次数:20756 次
<hibernate-mapping>
<class name="com.hebut.dao.User" table="ADDBOOK" schema="SCOTT">
<id name="phonenum" type="java.lang.String">
<column name="PHONENUM" length="50" />
<generator class="sequence"></generator>
</id>
<property name="name" type="java.lang.String">
<column name="NAME" length="10" />
</property>
<property name="address" type="java.lang.String">
<column name="ADDRESS" length="50" />
</property>
</class>
</hibernate-mapping>