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/Customer.hbm.xml

46 lines
1.8 KiB
XML
Raw Permalink 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"
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.Customer" table="CUSTOMER" schema="APP">
<id name="customerId" type="int">
2022-06-29 20:33:43 +02:00
<column name="CUSTOMER_ID"/>
2022-06-27 21:14:35 +02:00
<generator class="assigned"></generator>
</id>
<property name="discountCode" type="char">
2022-06-29 20:33:43 +02:00
<column name="DISCOUNT_CODE" length="1" not-null="true"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="zip" type="string">
2022-06-29 20:33:43 +02:00
<column name="ZIP" length="10" not-null="true"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="name" type="string">
2022-06-29 20:33:43 +02:00
<column name="NAME" length="30"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="addressline1" type="string">
2022-06-29 20:33:43 +02:00
<column name="ADDRESSLINE1" length="30"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="addressline2" type="string">
2022-06-29 20:33:43 +02:00
<column name="ADDRESSLINE2" length="30"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="city" type="string">
2022-06-29 20:33:43 +02:00
<column name="CITY" length="25"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="state" type="string">
2022-06-29 20:33:43 +02:00
<column name="STATE" length="2"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="phone" type="string">
2022-06-29 20:33:43 +02:00
<column name="PHONE" length="12"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="fax" type="string">
2022-06-29 20:33:43 +02:00
<column name="FAX" length="12"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="email" type="string">
2022-06-29 20:33:43 +02:00
<column name="EMAIL" length="40"/>
2022-06-27 21:14:35 +02:00
</property>
<property name="creditLimit" type="java.lang.Integer">
2022-06-29 20:33:43 +02:00
<column name="CREDIT_LIMIT"/>
2022-06-27 21:14:35 +02:00
</property>
</class>
</hibernate-mapping>