Skip to main content
summaryrefslogblamecommitdiffstats
blob: a876a8fa6503f06cda886dc277ef2eb4d1f655d2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                              
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings version="2.4"
    xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <named-query name="findOrdersByCustomer">
        <query>Select o from Order o where o.customer.id = :customerId</query>
        <hint name="eclipselink.query-results-cache" value="true"/>
    </named-query>

</entity-mappings>

Back to the top