| <?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. |
| --> |
| |
| <!-- $Rev: 602704 $ $Date: 2007-12-09 19:58:22 +0200 (Sun, 09 Dec 2007) $ --> |
| |
| <!DOCTYPE sun-cmp-mappings PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 CMP 1.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-cmp-mapping_1_0.dtd"> |
| <sun-cmp-mappings> |
| <sun-cmp-mapping> |
| <schema>unused</schema> |
| <entity-mapping> |
| <ejb-name>A</ejb-name> |
| <table-name>A</table-name> |
| <cmp-field-mapping> |
| <field-name>field1</field-name> |
| <column-name>a1</column-name> |
| </cmp-field-mapping> |
| <cmp-field-mapping> |
| <field-name>field2</field-name> |
| <column-name>a2</column-name> |
| </cmp-field-mapping> |
| </entity-mapping> |
| <entity-mapping> |
| <ejb-name>B</ejb-name> |
| <table-name>B</table-name> |
| <cmp-field-mapping> |
| <field-name>field1</field-name> |
| <column-name>b1</column-name> |
| </cmp-field-mapping> |
| <cmp-field-mapping> |
| <field-name>field2</field-name> |
| <column-name>b2</column-name> |
| </cmp-field-mapping> |
| <cmp-field-mapping> |
| <field-name>field3</field-name> |
| <column-name>fka1</column-name> |
| </cmp-field-mapping> |
| <cmr-field-mapping> |
| <cmr-field-name>a</cmr-field-name> |
| <column-pair> |
| <column-name>fka1</column-name> |
| <column-name>A.a1</column-name> |
| </column-pair> |
| </cmr-field-mapping> |
| </entity-mapping> |
| </sun-cmp-mapping> |
| </sun-cmp-mappings> |