blob: c90a4bec77857afb722f80f020dfd4cbfb7d0400 [file] [log] [blame]
<entity-mappings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.4"
xsi:schemaLocation="http://www.eclipse.org/eclipselink/xsds/persistence/orm http://www.eclipse.org/eclipselink/xsds/eclipselink_orm_2_4.xsd">
<package>org.eclipse.persistence.jpars.test.model.dynamic.place</package>
<named-query name="Place.findAll">
<query>select p from Place p</query>
</named-query>
<entity access="VIRTUAL" class="Place">
<no-sql data-format="MAPPED" data-type="place"/>
<attributes>
<id attribute-type="java.lang.String" name="id">
<field name="_id"/>
</id>
<basic attribute-type="java.lang.String" name="state">
<field name="state"/>
</basic>
<basic attribute-type="java.lang.Integer" name="pop">
<field name="pop"/>
</basic>
<basic attribute-type="java.lang.String" name="city">
<field name="city"/>
</basic>
</attributes>
</entity>
</entity-mappings>