You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
765 B
21 lines
765 B
5 years ago
|
<?xml version='1.0' encoding='utf-8'?>
|
||
|
<!DOCTYPE hibernate-mapping PUBLIC
|
||
|
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||
|
<hibernate-mapping>
|
||
|
|
||
|
<class name="JavaBean.Order" table="order" schema="userinfo">
|
||
|
<id name="orderId">
|
||
|
<column name="orderId" sql-type="int(11)"/>
|
||
|
</id>
|
||
|
<property name="buyerId">
|
||
|
<column name="buyerID" sql-type="int(11)" not-null="true"/>
|
||
|
</property>
|
||
|
<property name="sellerId">
|
||
|
<column name="sellerID" sql-type="int(11)" not-null="true"/>
|
||
|
</property>
|
||
|
<property name="bookId">
|
||
|
<column name="bookID" sql-type="int(11)"/>
|
||
|
</property>
|
||
|
</class>
|
||
|
</hibernate-mapping>
|