2
<!DOCTYPE hibernate-mapping PUBLIC
3
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
6
<hibernate-mapping package="org.hibernate.test.propertyref.inheritence.union">
8
<class name="Person" table="U_SBCLS_PROPREF_PERS">
10
<generator class="hilo"/>
12
<property name="name" length="100"/>
13
<property name="personId" length="8" unique="true"/>
15
<union-subclass name="Customer" table="U_SBCLS_PROPREF_CUST">
16
<property name="customerId" length="8" unique="true"/>
20
<class name="Account" table="U_SBCLS_PROPREF_ACCT">
21
<id name="accountId" length="32">
22
<generator class="uuid.hex"/>
24
<many-to-one name="person" column="personId" unique="true" property-ref="personId"/>
25
<many-to-one name="customer" column="customerPersonId" unique="true" property-ref="personId"/>
26
<property name="type" not-null="true"/>
b'\\ No newline at end of file'