<?xml version="1.0" encoding="utf-8"?>
<data-map xmlns="http://cayenne.apache.org/schema/3.0/modelMap"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://cayenne.apache.org/schema/3.0/modelMap http://cayenne.apache.org/schema/3.0/modelMap.xsd"
  project-version="3.0.0.1">
	<property name="defaultPackage" value="org.example"/>
	<db-entity name="BOOK">
		<db-attribute name="AUTHOR" type="VARCHAR" length="500"/>
		<db-attribute name="DOWNLOAD_URL" type="VARCHAR" length="500"/>
		<db-attribute name="ID" type="BIGINT" isPrimaryKey="true" isMandatory="true"/>
		<db-attribute name="IN_STOCK" type="BOOLEAN"/>
		<db-attribute name="ISBN" type="CHAR" length="9"/>
		<db-attribute name="PRICE" type="DECIMAL"/>
		<db-attribute name="SHIPPING_WEIGHT" type="DECIMAL"/>
		<db-attribute name="SIZE_MB" type="DECIMAL"/>
		<db-attribute name="TITLE" type="VARCHAR" length="500"/>
		<db-attribute name="TYPE" type="CHAR" isMandatory="true" length="1"/>
	</db-entity>
	<obj-entity name="Book" className="org.example.Book" dbEntityName="BOOK">
		<obj-attribute name="author" type="java.lang.String" db-attribute-path="AUTHOR"/>
		<obj-attribute name="isbn" type="java.lang.String" db-attribute-path="ISBN"/>
		<obj-attribute name="price" type="java.math.BigDecimal" db-attribute-path="PRICE"/>
		<obj-attribute name="title" type="java.lang.String" db-attribute-path="TITLE"/>
		<obj-attribute name="type" type="java.lang.String" db-attribute-path="TYPE"/>
	</obj-entity>
	<obj-entity name="PaperBook" superEntityName="Book" className="org.example.PaperBook">
		<qualifier><![CDATA[type = "P"]]></qualifier>
	</obj-entity>
</data-map>
