<?xml version="1.0" encoding="UTF-8"?>

<mapping>
    <key-generator name="IDENTITY"/>
	
    <class name="jdo.test1158.BaseObject" identity="id">
        <map-to table="test1158_object" />
        <cache-type type="unlimited"/>
        <field name="id" type="integer">
            <sql name="id" type="integer"/>
        </field>
        <field name="description" type="string">
            <sql name="description" type="varchar"/>
        </field>
        <field name="saved" type="boolean">
          <sql name="saved" type="char[01]" />
        </field>
    </class>
    
    <class name="jdo.test1158.ExtendedObject" identity="id" extends="jdo.test1158.BaseObject">
        <map-to table="test1158_extended" />
        <cache-type type="unlimited"/>
        <field name="id" type="integer">
            <sql name="id" type="integer"/>
        </field>
        <field name="description2" type="string">
            <sql name="description2" type="varchar"/>
        </field>
    </class>
</mapping>
