1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
JEE_Project/build/web/WEB-INF/classes/DAO/PurchaseOrder.hbm.xml

34 lines
1.4 KiB
XML
Raw Normal View History

2022-06-27 21:14:35 +02:00
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
<!-- Generated 8 avr. 2022 15:30:29 by Hibernate Tools 4.3.1 -->
<hibernate-mapping>
<class name="DAO.PurchaseOrder" table="PURCHASE_ORDER" schema="APP">
<id name="orderNum" type="int">
<column name="ORDER_NUM" />
<generator class="assigned"></generator>
</id>
<property name="customerId" type="int">
<column name="CUSTOMER_ID" not-null="true" />
</property>
<property name="productId" type="int">
<column name="PRODUCT_ID" not-null="true" />
</property>
<property name="quantity" type="java.lang.Short">
<column name="QUANTITY" />
</property>
<property name="shippingCost" type="big_decimal">
<column name="SHIPPING_COST" precision="12" />
</property>
<property name="salesDate" type="date">
<column name="SALES_DATE" length="10" />
</property>
<property name="shippingDate" type="date">
<column name="SHIPPING_DATE" length="10" />
</property>
<property name="freightCompany" type="string">
<column name="FREIGHT_COMPANY" length="30" />
</property>
</class>
</hibernate-mapping>