<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 08:53:06 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/OXM-2/OXM-2.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[OXM-2] Mapped-superclass, indexes not gathered</title>
                <link>http://www.doctrine-project.org/jira/browse/OXM-2</link>
                <project id="10070" key="OXM">Doctrine Object-XML Mapper</project>
                        <description>&lt;p&gt;GenericPositionPair XML:&lt;br/&gt;
  &amp;lt;mapped-superclass name=&quot;GenericPositionPair&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;indexes&amp;gt;&lt;br/&gt;
      &amp;lt;index columns=&quot;position&quot; /&amp;gt;&lt;br/&gt;
    &amp;lt;/indexes&amp;gt;&lt;br/&gt;
    &amp;lt;field name=&quot;position&quot; type=&quot;integer&quot; column=&quot;position&quot; /&amp;gt;&lt;br/&gt;
  &amp;lt;/mapped-superclass&amp;gt;&lt;/p&gt;

&lt;p&gt;GenericPrimaryPositionPair XML:&lt;br/&gt;
  &amp;lt;mapped-superclass name=&quot;GenericPrimaryPositionPair&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;indexes&amp;gt;&lt;br/&gt;
      &amp;lt;index columns=&quot;isPrimary&quot; /&amp;gt;&lt;br/&gt;
    &amp;lt;/indexes&amp;gt;&lt;br/&gt;
    &amp;lt;field name=&quot;isPrimary&quot; type=&quot;boolean&quot; column=&quot;isPrimary&quot; /&amp;gt;&lt;br/&gt;
  &amp;lt;/mapped-superclass&amp;gt;&lt;/p&gt;

&lt;p&gt;PrimaryPositionPair XML:&lt;br/&gt;
  &amp;lt;entity name=&quot;PrimaryPositionPair&quot; table=&quot;PrimaryPositionPair&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;id name=&quot;first&quot; type=&quot;integer&quot; column=&quot;first_id&quot; association-key=&quot;true&quot; /&amp;gt;&lt;br/&gt;
    &amp;lt;id name=&quot;second&quot; type=&quot;integer&quot; column=&quot;second_id&quot; association-key=&quot;true&quot; /&amp;gt;&lt;br/&gt;
    &amp;lt;many-to-one field=&quot;first&quot; target-entity=&quot;First&quot;&amp;gt;&lt;br/&gt;
      &amp;lt;join-column name=&quot;first_id&quot; referenced-column-name=&quot;id&quot; /&amp;gt;&lt;br/&gt;
    &amp;lt;/many-to-one&amp;gt;&lt;br/&gt;
    &amp;lt;many-to-one field=&quot;second&quot; target-entity=&quot;Second&quot;&amp;gt;&lt;br/&gt;
      &amp;lt;join-column name=&quot;second_id&quot; referenced-column-name=&quot;id&quot; /&amp;gt;&lt;br/&gt;
    &amp;lt;/many-to-one&amp;gt;&lt;br/&gt;
  &amp;lt;/entity&amp;gt;&lt;/p&gt;

&lt;p&gt;PHP:&lt;br/&gt;
PrimaryPositionPair exteds GenericPrimaryPositionPair&lt;br/&gt;
GenericPrimaryPositionPair extends GenericPositionPair&lt;/p&gt;

&lt;p&gt;Finally - the resulting SQL statement contains no idexes on position and isPrimary fields.&lt;/p&gt;

&lt;p&gt;Suggestion - wouldn&apos;t it be easier to just include attribute index=&quot;true&quot; instead od &amp;lt;indexes&amp;gt; tag, since attribute unique=&quot;true&quot; already works.&lt;/p&gt;</description>
                <environment>win7 xamp mysql</environment>
            <key id="13574">OXM-2</key>
            <summary>Mapped-superclass, indexes not gathered</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="lazarkg">Lazar Otasevic</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Mar 2012 14:22:49 +0000</created>
                <updated>Fri, 18 May 2012 12:53:44 +0000</updated>
                                                                            <due></due>
                    <votes>3</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17676" author="lazarkg" created="Thu, 29 Mar 2012 15:33:06 +0000"  >&lt;p&gt;As far as i can see, the shcema-tool gathers only fields and relations from xml and not &amp;lt;indexes&amp;gt; WHY?&lt;br/&gt;
Since it fetches unique attribute from a field and accordingly adds an unique index to the final statement, wouldnt it be natural to also gether indexes?&lt;br/&gt;
My suggestion remains about index attribute of a field.&lt;/p&gt;
</comment>
                    <comment id="17884" author="lazarkg" created="Wed, 25 Apr 2012 08:58:11 +0000"  >&lt;p&gt;Anybody?&lt;/p&gt;</comment>
                    <comment id="17950" author="lazarkg" created="Fri, 18 May 2012 12:53:44 +0000"  >&lt;p&gt;HELLO?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>