blob: 6cdd5abeb0a009d8de30cf510bfcd2b660b8ef27 [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
-->
<toplink:object-persistence version="Oracle TopLink - 11g Release 1 (11.1.1.4.0) (Build 100403)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<opm:name>db-adapter-outbound-request-response</opm:name>
<opm:class-mapping-descriptors>
<opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
<opm:class>org.eclipse.persistence.testing.oxm.deploymentxml.RequestResponse</opm:class>
<opm:alias>RequestResponse</opm:alias>
<opm:primary-key>
<opm:field table="REQUEST_RESPONSE" name="F1" xsi:type="opm:column"/>
</opm:primary-key>
<opm:events xsi:type="toplink:event-policy"/>
<opm:querying xsi:type="toplink:query-policy">
<opm:queries>
<opm:query name="findAllRequestResponse" xsi:type="toplink:read-all-query">
<toplink:timeout>0</toplink:timeout>
<toplink:reference-class>org.eclipse.persistence.testing.oxm.deploymentxml.RequestResponse</toplink:reference-class>
<toplink:cache-usage>primary-key</toplink:cache-usage>
<toplink:lock-mode>none</toplink:lock-mode>
<toplink:container xsi:type="toplink:list-container-policy">
<toplink:collection-type>java.util.Vector</toplink:collection-type>
</toplink:container>
</opm:query>
<opm:query name="db-adapter-outbound-request-responseSelect" xsi:type="toplink:read-all-query">
<opm:criteria operator="greaterThan" xsi:type="toplink:relation-expression">
<toplink:left name="f1" xsi:type="toplink:query-key-expression">
<toplink:base xsi:type="toplink:base-expression"/>
</toplink:left>
<toplink:right xsi:type="toplink:parameter-expression">
<toplink:parameter name="f1-value" xsi:type="opm:column"/>
</toplink:right>
</opm:criteria>
<opm:arguments>
<opm:argument name="f1-value">
<opm:type>java.math.BigDecimal</opm:type>
</opm:argument>
</opm:arguments>
<toplink:timeout>0</toplink:timeout>
<toplink:reference-class>org.eclipse.persistence.testing.oxm.deploymentxml.RequestResponse</toplink:reference-class>
<toplink:cache-usage>primary-key</toplink:cache-usage>
<toplink:lock-mode>none</toplink:lock-mode>
<toplink:container xsi:type="toplink:list-container-policy">
<toplink:collection-type>java.util.Vector</toplink:collection-type>
</toplink:container>
</opm:query>
</opm:queries>
<toplink:does-exist-query xsi:type="toplink:does-exist-query">
<toplink:existence-check>check-database</toplink:existence-check>
</toplink:does-exist-query>
</opm:querying>
<opm:attribute-mappings>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>f1</opm:attribute-name>
<opm:field table="REQUEST_RESPONSE" name="F1" xsi:type="opm:column"/>
<toplink:attribute-classification>java.math.BigDecimal</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>f2</opm:attribute-name>
<opm:field table="REQUEST_RESPONSE" name="F2" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>f3</opm:attribute-name>
<opm:field table="REQUEST_RESPONSE" name="F3" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
</opm:attribute-mappings>
<toplink:descriptor-type>independent</toplink:descriptor-type>
<toplink:caching>
<toplink:cache-type>weak-reference</toplink:cache-type>
<toplink:always-refresh>true</toplink:always-refresh>
<toplink:unitofwork-isolation-level>isolate-new-data-after-transaction</toplink:unitofwork-isolation-level>
</toplink:caching>
<toplink:remote-caching>
<toplink:cache-type>weak-reference</toplink:cache-type>
</toplink:remote-caching>
<toplink:instantiation/>
<toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
<toplink:change-policy xsi:type="toplink:deferred-detection-change-policy"/>
<toplink:tables>
<toplink:table name="REQUEST_RESPONSE"/>
</toplink:tables>
</opm:class-mapping-descriptor>
</opm:class-mapping-descriptors>
</toplink:object-persistence>