blob: 1f977128964f9a65aa9b6c139d7243b54842b751 [file] [log] [blame]
<?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.1" xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<description>Inherited Test Model Instance Document</description>
<package>org.eclipse.persistence.testing.models.jpa.xml.cacheable</package>
<table-generator name="XML_CACHEABLE_TABLE_GENERATOR" table="XML_CACHEABLE_SEQ" pk-column-name="SEQ_NAME" value-column-name="SEQ_COUNT" pk-column-value="CACHEABLE_SEQ"/>
<mapped-superclass class="CacheableTrueMappedSuperclass" access="FIELD" cacheable="true">
<attributes>
<id name="id">
<generated-value strategy="TABLE" generator="XML_CACHEABLE_TABLE_GENERATOR"/>
</id>
</attributes>
</mapped-superclass>
<entity name="XML_CACHEABLE_FALSE" class="CacheableFalseEntity" access="FIELD" cacheable="false">
<attributes>
<id name="id">
<generated-value strategy="TABLE" generator="XML_CACHEABLE_TABLE_GENERATOR"/>
</id>
<one-to-one name="protectedEntity" fetch="LAXY">
<join-column name="PROTECTED_FK" referenced-column-name="ID"/>
</one-to-one>
</attributes>
</entity>
<entity name="XML_CACHEABLE_FORCE_PROTECTED" class="CacheableForceProtectedEntity" access="FIELD" cacheable="true">
<attributes>
<id name="id">
<generated-value strategy="TABLE" generator="XML_CACHEABLE_TABLE_GENERATOR"/>
</id>
<one-to-one name="cacheableFalse" fetch="EAGER">
<join-column name="FALSE_FK" referenced-column-name="ID"/>
</one-to-one>
</attributes>
</entity>
<entity name="XML_ROTECTED_RELATIONSHIPS" class="ProtectedRelationshipsEntity"
access="FIELD" cacheable="true">
<attributes>
<id name="id">
<generated-value strategy="TABLE"
generator="XML_CACHEABLE_TABLE_GENERATOR" />
</id>
<one-to-one name="cacheableFalse" fetch="EAGER">
<join-column name="FALSE_FK" referenced-column-name="ID" />
<noncacheable/>
</one-to-one>
<many-to-one name="cacheableProtected" fetch="EAGER">
<join-column name="XML_MERGE_ADDR_ID" />
<noncacheable/>
</many-to-one>
<many-to-many name="cacheableProtecteds">
<noncacheable/>
</many-to-many>
<one-to-many name="cacheableProtecteds2">
<join-column name="XML_MERGE_PRODS_ID" />
<noncacheable/>
</one-to-many>
<element-collection name="elementCollection">
<column name="elemenColl" />
<collection-table name="ELEMENT_COLLECTION" creation-suffix="creationSuffixString2">
</collection-table>
<noncacheable/>
</element-collection>
<basic-collection name="basicCollection">
<value-column name="PRIVILEGE" />
<collection-table name="XML_BASIC_COLLECTION">
</collection-table>
<noncacheable/>
</basic-collection>
</attributes>
</entity>
<entity name="XML_CACHEABLE_TRUE" class="CacheableTrueEntity" access="FIELD" cacheable="true">
<attributes>
<id name="id">
<generated-value strategy="TABLE" generator="XML_CACHEABLE_TABLE_GENERATOR"/>
</id>
</attributes>
</entity>
<entity name="XML_CACHEABLE_PROTECTED" class="CacheableProtectedEntity" access="FIELD" cacheable="true">
<attributes>
<id name="id">
<generated-value strategy="TABLE" generator="XML_CACHEABLE_TABLE_GENERATOR"/>
</id>
</attributes>
</entity>
<entity name="XML_SUB_CACHEABLE_FALSE" class="SubCacheableFalseEntity" access="FIELD" cacheable="false"/>
<entity name="XML_SUB_CACHEABLE_NONE" class="SubCacheableNoneEntity" access="FIELD"/>
</entity-mappings>