ENH: Add mappingsLocation config to search xml mapping files. (#1350)

ENH: Add mappingsLocation config and search xml mapping files feature.
This commit is contained in:
Yuan Xuegui authored and Rob Bygrave committed 2018-03-26 16:37:25 +13:00
1 parent 7651256083
commit 6cf5e3386d
7 files changed
+159 -21

No files matched your search

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ebean xmlns="http://ebean-orm.github.io/xml/ns/ebean">
<entity class="org.tests.model.basic.Customer">
<named-query name="withContactsById2">
<query>
select (name, version)
fetch contacts (firstName, lastName, email)
where id = :id
</query>
</named-query>
</entity>
</ebean>