mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-25 07:17:57 +00:00
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:
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>
|
||||
Reference in new issue
Block a user