2022-06-27 21:14:35 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
2022-06-29 20:33:43 +02:00
|
|
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
2022-06-27 21:14:35 +02:00
|
|
|
<!-- 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">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="ORDER_NUM"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
<generator class="assigned"></generator>
|
|
|
|
</id>
|
|
|
|
<property name="customerId" type="int">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="CUSTOMER_ID" not-null="true"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
<property name="productId" type="int">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="PRODUCT_ID" not-null="true"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
<property name="quantity" type="java.lang.Short">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="QUANTITY"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
<property name="shippingCost" type="big_decimal">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="SHIPPING_COST" precision="12"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
<property name="salesDate" type="date">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="SALES_DATE" length="10"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
<property name="shippingDate" type="date">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="SHIPPING_DATE" length="10"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
<property name="freightCompany" type="string">
|
2022-06-29 20:33:43 +02:00
|
|
|
<column name="FREIGHT_COMPANY" length="30"/>
|
2022-06-27 21:14:35 +02:00
|
|
|
</property>
|
|
|
|
</class>
|
|
|
|
</hibernate-mapping>
|