<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 16:58:00 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/DDC-2296/DDC-2296.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>[DDC-2296] Naming Strategy ORM Entity - plural problem</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2296</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;We are using Doctringe since 2.2.2.&lt;/p&gt;

&lt;p&gt;We the follow relation:&lt;/p&gt;

&lt;p&gt;  manyToMany:&lt;br/&gt;
    categories:&lt;br/&gt;
       targetEntity: \Application\Model\Db\Entity\Category&lt;br/&gt;
       inversedBy: topics&lt;br/&gt;
       joinTable: &lt;br/&gt;
         name: finq_topic_category&lt;br/&gt;
         joinColumns:&lt;br/&gt;
           topic_id:&lt;br/&gt;
             referencedColumnName: id&lt;br/&gt;
         inverseJoinColumns:&lt;br/&gt;
           category_id:&lt;br/&gt;
             referencedColumnName: id&lt;/p&gt;


&lt;p&gt;As expected the generated methods in our entities were named like:&lt;/p&gt;

&lt;p&gt;addCategory()&lt;br/&gt;
getCategories()&lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;After we updated to 2.3.2 we got the follow method names:&lt;/p&gt;

&lt;p&gt;addCategorie()&lt;br/&gt;
getCateogires()&lt;/p&gt;

&lt;p&gt;I found in the changelog some notes like &quot;changed naming strategy&quot;.&lt;br/&gt;
Took us several hours too find out that we had to downgrade back to&lt;br/&gt;
2.2.2. Is this a bug or &quot;just&quot; a new behavior?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14482">DDC-2296</key>
            <summary>Naming Strategy ORM Entity - plural problem</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="7">Can&apos;t Fix</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="keksnicoh">keks nicoh</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Feb 2013 12:26:52 +0000</created>
                <updated>Thu, 14 Mar 2013 22:25:08 +0000</updated>
                    <resolved>Thu, 14 Mar 2013 22:24:57 +0000</resolved>
                            <version>2.3.2</version>
                                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19858" author="beberlei" created="Thu, 14 Mar 2013 22:25:08 +0000"  >&lt;p&gt;Its &quot;just&quot; a new behavior, sadly non BC. The EntityGenerator is really a mess in that regard, because its very hard to test as well. However all the methods are &quot;protected&quot;, so you should be able to extend it with your custom entity generator and fixing it.&lt;/p&gt;

&lt;p&gt;We are slowly deprecating the EntityGenerator, because this kind of problem and its huge monolithic structure makes it so hard to use and customize.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>