blob: f97c4ecd9b65f4b8f342141f95ca3ca69c20b43e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings version="2.3"
xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<package>org.eclipse.persistence.jpars.test.model.dynamic.phonebook</package>
<named-query name="Person.all">
<query>SELECT p FROM Person p</query>
</named-query>
<named-query name="Person.likeName">
<query>SELECT p FROM Person p WHERE p.lastName LIKE :lastName</query>
</named-query>
<entity class="Person" access="VIRTUAL">
<table name="JPARS_PHONEBOOK_PERSON" />
<attributes>
<id name="id" attribute-type="Integer">
<column name="ID" />
<generated-value/>
</id>
<basic name="firstName" attribute-type="String" />
<basic name="lastName" attribute-type="String" />
<basic name="phoneNumber" attribute-type="String" />
</attributes>
</entity>
</entity-mappings>