1 <?xml version="1.0" encoding="UTF-8"?>
3 <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
5 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm
9 http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
15 <!-- id and name mapped in superclass ORM -->
17 <entity class="b.Customer"
21 <table name="HMIG_CUSTOMER"/>
35 <enumerated>STRING</enumerated>
41 <one-to-many name="purchases" mapped-by="customer"/>