<?xml version="1.0" encoding="UTF-8"?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
 distributed with this work for additional information
 regarding copyright ownership.  The ASF licenses this file
 to you under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in compliance
 with the License.  You may obtain a copy of the License at
 
 http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.   
-->
<entity-mappings 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
                    http://java.sun.com/xml/ns/persistence/orm_2_0.xsd" 
    version="2.0">
	<entity class="org.apache.openjpa.persistence.delimited.identifiers.xml.EntityH">
		<table name="&quot;xe h&quot;" schema="&quot;delim xml&quot;"/>
		<secondary-table name="&quot;h sec join table&quot;" schema="&quot;delim xml&quot;">
			<primary-key-join-column name="&quot;xe h&quot;" referenced-column-name="&quot;xh id&quot;"/>
		</secondary-table>
		<attributes>
			<id name="id">
				<column name="&quot;xh id&quot;"/>
			</id>
			<basic name="name"/>
			<basic name="secName">
				<column name="&quot;h sec join table&quot;"/>
			</basic>
			
			<one-to-one name="eI2">
				<join-column name="&quot;e2 id&quot;" referenced-column-name="&quot;eI2 id&quot;"
					table="&quot;j tb&quot;"/>
			</one-to-one>
			
			<many-to-many name="eIs">
				<join-table name="&quot;h i&quot;" schema="&quot;delim xml&quot;"/>
			</many-to-many>
			
			<many-to-many name="map">
				<map-key-join-column name="&quot;map_ei3&quot;" referenced-column-name="&quot;eI3 id&quot;"/>
				<join-table name="&quot;m3 j t&quot;" schema="&quot;delim xml&quot;"/>
			</many-to-many>
			
			<many-to-many name="map2">
				<map-key-join-column name="&quot;map ei4&quot;" referenced-column-name="&quot;eI4 id&quot;"
					table="&quot;m k j col&quot;"/>
				<join-table name="&quot;m4 j t&quot;" schema="&quot;delim xml&quot;"/>
			</many-to-many>
		</attributes>
	</entity>	
	
	<entity class="org.apache.openjpa.persistence.delimited.identifiers.xml.EntityI">
		<table name="&quot;xe i&quot;" schema="&quot;delim xml&quot;"/>
		<attributes>
			<id name="id"/>
			<many-to-many name="eHs" mapped-by="eIs"/>
		</attributes>
	</entity>
	
	<entity class="org.apache.openjpa.persistence.delimited.identifiers.xml.EntityI2">
		<table name="&quot;xe i2&quot;" schema="&quot;delim xml&quot;"/>
		<attributes>
			<id name="id">
				<column name="&quot;eI2 id&quot;"/>
			</id>
			<basic name="name"/>
			<one-to-one name="eI3">
				<primary-key-join-column/>
			</one-to-one>
		</attributes>
	</entity>
	
	<entity class="org.apache.openjpa.persistence.delimited.identifiers.xml.EntityI3">
		<table name="&quot;xe i3&quot;" schema="&quot;delim xml&quot;"/>
		<attributes>
			<id name="id">
				<column name="&quot;eI3 id&quot;"/>
			</id>
			<basic name="name"/>
		</attributes>
	</entity>
	
	<entity class="org.apache.openjpa.persistence.delimited.identifiers.xml.EntityI4">
		<table name="&quot;xe i4&quot;" schema="&quot;delim xml&quot;"/>
		<attributes>
			<id name="id">
				<column name="&quot;eI4 id&quot;"/>
			</id>
			<basic name="name"/>
		</attributes>
	</entity>
	
	

</entity-mappings>