| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0 which is available at |
| http://www.eclipse.org/legal/epl-2.0, |
| or the Eclipse Distribution License v. 1.0 which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| |
| --> |
| |
| <entity-mappings version="1.0" xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm orm_1_0.xsd"> |
| <description>Merge of XML and Annotations Inherited Test Model Instance Document</description> |
| <entity name="MergeCertification" class="org.eclipse.persistence.testing.models.jpa.xml.merge.inherited.Certification" access="PROPERTY"> |
| <!-- Id is from annotations for this entity, remaining fields |
| annotated and then overidden in XML here --> |
| <table name="CMP3_MERGE_CERTIFICATION"/> |
| <exclude-default-listeners/> |
| <exclude-superclass-listeners/> |
| <attributes> |
| <basic name="description"/> |
| <many-to-one name="beerConsumer" target-entity="org.eclipse.persistence.testing.models.jpa.xml.merge.inherited.BeerConsumer"> |
| <join-column name="CONSUMER_ID"/> |
| </many-to-one> |
| </attributes> |
| </entity> |
| </entity-mappings> |