Skip to Content
0
Former Member
May 22, 2018 at 07:53 AM

In which table the relation type is stored

226 Views

I have created an item type with Stadium and match . and create a one to many relation type . I want to know the relationtype in which table is stored , How can i see via flexible search query.

 <relation code="StadiumMatchRelation" localized="false" generate="true" autocreate="true">
    <sourceElement type="Stadium" qualifier="stadium" cardinality="one" />
    <targetElement type="Match" qualifier="matches" cardinality="many"/>
 </relation>
 

 <itemtypes>

         <deployment table="CuppyTrailStadium" typecode="10123" />
         <attributes>
             <attribute qualifier="code" type="java.lang.String" >
                 <persistence type="property"/>
                 <modifiers optional="false" unique="true"/>
             </attribute>
             <attribute qualifier="capacity" type="java.lang.Integer">
                 <description>Capacity</description>
                 <persistence type="property" />
             </attribute>
             <attribute type="StadiumType" qualifier="StadiumType">
              <persistence type="property"/>
             <defaultvalue>em().getEnumerationValue("StadiumType","openair")</defaultvalue>
           </attribute>
         </attributes>
     </itemtype>
 </itemtypes>