blob: 3ed688c1386b4aa8e7d8cda7dc5664a0ee6bf482 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<entity-mappings
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_2_0.xsd"
xmlns="http://java.sun.com/xml/ns/persistence/orm"
version="2.0">
<entity class="jpql.query.Alias"/>
<entity class="jpql.query.Dept"/>
<entity class="jpql.query.Employee"/>
<entity class="jpql.query.Home"/>
<entity class="jpql.query.Product"/>
<entity class="jpql.query.Order"/>
<entity class="jpql.query.Phone"/>
<entity class="jpql.query.Project"/>
<entity class="jpql.query.Address">
<attributes>
<one-to-many name="customerList" target-entity="jpql.query.Customer"/>
</attributes>
</entity>
<entity class="jpql.query.Customer">
<attributes>
<many-to-one name="dept" target-entity="jpql.query.Dept"/>
<one-to-many name="aliases" target-entity="jpql.query.Alias"/>
<one-to-many name="phoneList" target-entity="jpql.query.Phone"/>
<one-to-one name="home" target-entity="jpql.query.Home"/>
</attributes>
</entity>
<embeddable class="jpql.query.ShelfLife"/>
</entity-mappings>