Figure 1
Mapping the PEOPLE table
<?xml version="1.0" ?>
 <!DOCTYPE hibernate-mapping (View Source for full doctype...)>
- <hibernate-mapping package="com.denoncourt.orm" default-cascade="none" default-access="property" default-lazy="true" auto-import="true">
- <class name="Person" table="PEOPLE" mutable="true" polymorphism="implicit" dynamic-update="false" dynamic-insert="false" select-before-update="false" optimistic-lock="version">
- <id name="id" type="int" column="personId" unsaved-value="0">
 <generator class="native" />
 </id>
 <version name="version" access="field" type="integer" unsaved-value="undefined" generated="never" />
 <property name="firstName" type="string" column="FRSTNAM" unique="false" optimistic-lock="true" lazy="false" generated="never" />
 <property name="lastName" type="string" column="LSTNAM" unique="false" optimistic-lock="true" lazy="false" generated="never" />
 <property name="dob" type="date" column="DOB" unique="false" optimistic-lock="true" lazy="false" generated="never" />
 <property name="gender" type="string" column="GENDER" unique="false" optimistic-lock="true" lazy="false" generated="never" />
 <property name="citizenCountry" type="int" column="CNTRY" unique="false" optimistic-lock="true" lazy="false" generated="never" />
 </class>
 </hibernate-mapping>