1 <?xml version="1.0" encoding="UTF-8"?>
2 <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm
5 http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
12 <table name="HMIG_SALE"/>
17 <basic name="amount" optional="false">
18 <column precision="7" scale="2"/>
20 <basic name="dateTime" optional="false">
21 <column name="SALE_TIME"/>
22 <temporal>TIMESTAMP</temporal>
25 <many-to-one name="customer" optional="false">
26 <join-column name="CUSTOMER_ID"/>
28 <many-to-many name="salesClerks">
29 <join-table name="HMIG_SALE_CLERK">
30 <join-column name="SALE_ID"/>
31 <inverse-join-column name="CLERK_ID"/>