--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm
+ http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
+ version="1.0">
+
+ <package>b</package>
+ <access>FIELD</access>
+
+ <entity class="Sale">
+ <table name="HMIG_SALE"/>
+ <attributes>
+ <id name="id">
+ <column length="36"/>
+ </id>
+ <basic name="amount" optional="false">
+ <column precision="7" scale="2"/>
+ </basic>
+ <basic name="dateTime" optional="false">
+ <column name="SALE_TIME"/>
+ <temporal>TIMESTAMP</temporal>
+ </basic>
+
+ <many-to-one name="customer" optional="false">
+ <join-column name="CUSTOMER_ID"/>
+ </many-to-one>
+ <many-to-many name="salesClerks">
+ <join-table name="HMIG_SALE_CLERK">
+ <join-column name="SALE_ID"/>
+ <inverse-join-column name="CLERK_ID"/>
+ </join-table>
+ </many-to-many>
+ </attributes>
+ </entity>
+</entity-mappings>