forked from maxliaops/Java_Web_Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProviderForm.hbm.xml
More file actions
19 lines (18 loc) · 896 Bytes
/
ProviderForm.hbm.xml
File metadata and controls
19 lines (18 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.actionForm.ProviderForm" table="tb_provider">
<id name="id" column="id" type="int">
<generator class="increment"/>
</id>
<property name="name" column="name" type="string" not-null="true"/>
<property name="address" column="address" type="string" not-null="true"/>
<property name="fax" column="fax" type="string"/>
<property name="tel" column="tel" type="string" not-null="true"/>
<property name="postcode" column="postcode" type="string"/>
<property name="bankNo" column="bankNo" type="string"/>
<property name="bankName" column="bankName" type="string"/>
<property name="memo" column="memo" type="string"/>
</class>
</hibernate-mapping>