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.

27 lines
1.1 KiB

<?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.Book" table="book" schema="userinfo">
<id name="bookId">
<column name="bookId" sql-type="int(11)"/>
</id>
<property name="bookname">
<column name="bookname" sql-type="varchar(45)" length="45" not-null="true"/>
</property>
<property name="price">
<column name="price" sql-type="float" precision="-1" not-null="true"/>
</property>
<property name="category">
<column name="category" sql-type="varchar(45)" length="45" not-null="true"/>
</property>
<property name="imageurl">
<column name="imageurl" sql-type="varchar(45)" length="45" not-null="true"/>
</property>
<property name="sellerId">
<column name="sellerID" sql-type="int(11)" not-null="true"/>
</property>
</class>
</hibernate-mapping>