<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Fri May 24 12:11:23 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/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+DDC+AND+fixVersion+%3D+%222.4%22+AND+resolution+in+(Fixed%2C+%22Won't+Fix%22%2C+Duplicate%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Invalid%2C+%22Can't+Fix%22)&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+DDC+AND+fixVersion+%3D+%222.4%22+AND+resolution+in+%28Fixed%2C+%22Won%27t+Fix%22%2C+Duplicate%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Invalid%2C+%22Can%27t+Fix%22%29</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="95" total="95"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-2458] [GH-671] [DDC-2435] Fix column name with numbers and non alphanumeric characters.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2458</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/671&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/671&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2435&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2435&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14966">DDC-2458</key>
            <summary>[GH-671] [DDC-2435] Fix column name with numbers and non alphanumeric characters.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 May 2013 16:19:38 +0000</created>
                <updated>Fri, 17 May 2013 16:41:03 +0000</updated>
                    <resolved>Fri, 17 May 2013 16:41:03 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20394" author="doctrinebot" created="Fri, 17 May 2013 16:34:09 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-671&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/671&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/671&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20396" author="fabio.bat.silva" created="Fri, 17 May 2013 16:41:03 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/c9d9b68fa9937218aad05dfca4b3f96b409cfc8e&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/c9d9b68fa9937218aad05dfca4b3f96b409cfc8e&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2457] [GH-670] [DDC-2451] Fix entity listeners serialization</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2457</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/670&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/670&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2451&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2451&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14965">DDC-2457</key>
            <summary>[GH-670] [DDC-2451] Fix entity listeners serialization</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 May 2013 15:05:02 +0000</created>
                <updated>Fri, 17 May 2013 15:13:24 +0000</updated>
                    <resolved>Fri, 17 May 2013 15:13:24 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20391" author="doctrinebot" created="Fri, 17 May 2013 15:09:36 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-670&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/670&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/670&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20393" author="fabio.bat.silva" created="Fri, 17 May 2013 15:13:24 +0000"  >&lt;p&gt;merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/65886fdfeaf38692be5196a59530f56fc3e6ab56&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/65886fdfeaf38692be5196a59530f56fc3e6ab56&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2451] Entity listeners class don&apos;t work when metadatas are stored in cache</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2451</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I&apos;m using entity listeners class to make PostPersist and PostLoad actions per entity and use memcached as the metadata cache. Before the metadatas are in cache, the methods of the entity listeners are properly called but when the metadatas are in cache, they are no longer called. I&apos;ve also made the test with APC and the result is the same.&lt;/p&gt;</description>
                <environment>Ubuntu / PHP 5.4.9</environment>
            <key id="14957">DDC-2451</key>
            <summary>Entity listeners class don&apos;t work when metadatas are stored in cache</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="jedi_bc">Bruno CHALOPIN</reporter>
                        <labels>
                        <label>event</label>
                        <label>orm</label>
                    </labels>
                <created>Thu, 16 May 2013 13:52:40 +0000</created>
                <updated>Fri, 17 May 2013 15:12:12 +0000</updated>
                    <resolved>Fri, 17 May 2013 15:12:12 +0000</resolved>
                            <version>2.4</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Mapping Drivers</component>
                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20392" author="fabio.bat.silva" created="Fri, 17 May 2013 15:12:12 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/65886fdfeaf38692be5196a59530f56fc3e6ab56&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/65886fdfeaf38692be5196a59530f56fc3e6ab56&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2442] [GH-663] Adding failing test to demonstrate DDC-2432</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2442</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/663&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/663&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Attempt to fix &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2432&quot; title=&quot;Entity can be initialized even if not found&quot;&gt;&lt;del&gt;DDC-2432&lt;/del&gt;&lt;/a&gt; ( &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2432&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2432&lt;/a&gt; )&lt;/p&gt;

&lt;p&gt;Loading proxies with invalid identifiers will currently mark them as initialized regardless of the failure&lt;/p&gt;</description>
                <environment></environment>
            <key id="14849">DDC-2442</key>
            <summary>[GH-663] Adding failing test to demonstrate DDC-2432</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 19:14:25 +0000</created>
                <updated>Fri, 10 May 2013 06:55:52 +0000</updated>
                    <resolved>Fri, 10 May 2013 06:55:52 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20257" author="doctrinebot" created="Thu, 9 May 2013 21:38:00 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-663&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/663&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/663&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2439] [GH-662] Fixed a code block.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2439</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jakzal:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/662&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/662&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Last code block in the &lt;span class=&quot;error&quot;&gt;&amp;#91;Keeping your Modules independent&amp;#93;&lt;/span&gt;(&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/resolve-target-entity-listener.html&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/resolve-target-entity-listener.html&lt;/a&gt;) cookbook is broken.&lt;/p&gt;

&lt;p&gt;Sphinx does not like the way code was indented. Building the documentation raises the following error:&lt;/p&gt;

&lt;p&gt;    en/cookbook/resolve-target-entity-listener.rst:121: ERROR: Unexpected indentation.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14845">DDC-2439</key>
            <summary>[GH-662] Fixed a code block.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 14:20:56 +0000</created>
                <updated>Thu, 9 May 2013 14:28:04 +0000</updated>
                    <resolved>Thu, 9 May 2013 14:28:04 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20244" author="doctrinebot" created="Thu, 9 May 2013 14:27:41 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-662&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/662&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/662&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2438] [GH-661] Update annotations-reference.rst</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2438</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of HarmenM:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/661&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/661&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added missing @JoinColumns in the index&lt;/p&gt;</description>
                <environment></environment>
            <key id="14844">DDC-2438</key>
            <summary>[GH-661] Update annotations-reference.rst</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 11:49:46 +0000</created>
                <updated>Thu, 9 May 2013 12:10:45 +0000</updated>
                    <resolved>Thu, 9 May 2013 12:10:45 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20240" author="doctrinebot" created="Thu, 9 May 2013 12:10:33 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-661&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/661&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/661&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2435] Column name with number and reserved character creates invalid query</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2435</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I have a column name called 1:1 which i map like so&lt;br/&gt;
@Column(type=&quot;string&quot;, name=&quot;`1:1`&quot;)&lt;br/&gt;
Unfortunately, the SQL that get generated does not work in mysql:&lt;br/&gt;
SELECT t0.`1:1` AS 112 FROM `table` t0&lt;br/&gt;
the problem is with the &apos;AS 112&apos;, if it contained a letter eg. 11a, or was escaped eg. `112` it wound work.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14841">DDC-2435</key>
            <summary>Column name with number and reserved character creates invalid query</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="dane77hz">Dane Lipscombe</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 May 2013 02:18:44 +0000</created>
                <updated>Fri, 17 May 2013 16:40:30 +0000</updated>
                    <resolved>Fri, 17 May 2013 16:40:30 +0000</resolved>
                            <version>2.3.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20395" author="fabio.bat.silva" created="Fri, 17 May 2013 16:40:30 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/c9d9b68fa9937218aad05dfca4b3f96b409cfc8e&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/c9d9b68fa9937218aad05dfca4b3f96b409cfc8e&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2432] Entity can be initialized even if not found</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2432</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I have some data in loose consistency, trying to load a field from a certain entity will yield a EntityNotFoundException. Trying it again, for example if the group is reused in a set that gets iterated, will work but provide an empty/dirty Entity.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; {
  echo $item-&amp;gt;getGroup()-&amp;gt;getName();
} &lt;span class=&quot;code-keyword&quot;&gt;catch&lt;/span&gt; (\Doctrine\ORM\EntityNotFoundException $enfe) {
  &lt;span class=&quot;code-comment&quot;&gt;// meh
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Thats probably because the proxies internal methods set _&lt;em&gt;isInitialized&lt;/em&gt;_ to true on the first try. Without reverting it in case of the exception...&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __load()
    {
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!$&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;__isInitialized__ &amp;amp;&amp;amp; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_entityPersister) {
            $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;__isInitialized__ = &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;

            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_entityPersister-&amp;gt;load($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_identifier, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;) === &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) {
                &lt;span class=&quot;code-keyword&quot;&gt;throw&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\EntityNotFoundException();
            }
            unset($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_entityPersister, $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_identifier);
        }
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Is there any reason to do that?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14836">DDC-2432</key>
            <summary>Entity can be initialized even if not found</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="croensch">Christoph Roensch</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 May 2013 13:01:09 +0000</created>
                <updated>Thu, 9 May 2013 21:38:43 +0000</updated>
                    <resolved>Thu, 9 May 2013 21:38:43 +0000</resolved>
                            <version>2.3.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20223" author="ocramius" created="Mon, 6 May 2013 13:35:12 +0000"  >&lt;p&gt;That is specifically there to disallow recursive load operations that may occur - did you already try this with latest master?&lt;/p&gt;</comment>
                    <comment id="20224" author="croensch" created="Tue, 7 May 2013 16:15:37 +0000"  >&lt;p&gt;I did not exactly use an &quot;Doctrine Proxy&quot;. A colleque of me implemented his own proxies, wich instead of loading from an entity manager, load stuff from a webservice. He simply used the template that a normal proxy provided and thats where i found this case, throw exception - return initialized. Wich i found would be valid for real proxies too.&lt;/p&gt;

&lt;p&gt;Now i tried to use &lt;a href=&quot;http://www.doctrine-project.org/blog/doctrine-2-4-beta.html&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/blog/doctrine-2-4-beta.html&lt;/a&gt; but the composer install just fails because common cant be resolved atm. So i downloaded and compiled all tarballs from github into our project. Now the proxy mechanism seems changed, with an _&lt;em&gt;initializer&lt;/em&gt;_ closure&lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/help_16.gif&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; instead. Our &quot;Entities&quot; in question won&apos;t work with that anymore...&lt;/p&gt;

&lt;p&gt;I would have to construct a demo then, implementing real basic proxies with a RDBMS?&lt;/p&gt;</comment>
                    <comment id="20225" author="ocramius" created="Tue, 7 May 2013 16:30:04 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=croensch&quot; class=&quot;user-hover&quot; rel=&quot;croensch&quot;&gt;Christoph Roensch&lt;/a&gt; did you try setting the minimum-stability flag in composer? Give it a try again with 2.4 and ping back - proxies changed a lot since 2.3&lt;/p&gt;</comment>
                    <comment id="20227" author="croensch" created="Wed, 8 May 2013 13:00:28 +0000"  >&lt;p&gt;I reproduced it with the tutorial application, please have a look at the two commits i made on &lt;a href=&quot;https://github.com/croensch/doctrine2-orm-tutorial/tree/DDC-2432&quot; class=&quot;external-link&quot;&gt;https://github.com/croensch/doctrine2-orm-tutorial/tree/DDC-2432&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20255" author="ocramius" created="Thu, 9 May 2013 19:23:45 +0000"  >&lt;p&gt;Proposed a fix at &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/663&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/663&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2430] Incorrect results when using -&gt;matching on PersistentCollection</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2430</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;When using -&amp;gt;matching() on a PersistentCollection that is already loaded, it returns incorrect results when trying to match by id on a relationship.&lt;/p&gt;

&lt;p&gt;// NOTE: the user property is a M:1 relationship of $entity&lt;br/&gt;
$c = new Criteria(Criteria::expr()-&amp;gt;eq(&apos;user&apos;, $userId));&lt;br/&gt;
$res = $entity-&amp;gt;getLikes()-&amp;gt;matching($c);&lt;/p&gt;

&lt;p&gt;// $res is empty, even if $userId exists&lt;/p&gt;</description>
                <environment>Ubuntu 12.04 LTS, PHP 5.4.14</environment>
            <key id="14832">DDC-2430</key>
            <summary>Incorrect results when using -&gt;matching on PersistentCollection</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="stuartcarnie">Stuart Carnie</reporter>
                        <labels>
                        <label>criteria</label>
                    </labels>
                <created>Sun, 5 May 2013 17:47:40 +0000</created>
                <updated>Thu, 9 May 2013 11:25:38 +0000</updated>
                    <resolved>Thu, 9 May 2013 11:25:38 +0000</resolved>
                            <version>2.4</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20237" author="beberlei" created="Thu, 9 May 2013 10:53:07 +0000"  >&lt;p&gt;The problem is that matching a user by just the id doesn&apos;t work for in memory here.&lt;br/&gt;
You should use Criteria::expr()-&amp;gt;eq(&apos;user&apos;, $user) instead. The ORM shouldnt allow $userId matching, but this is generic functionality we are reusing here, pretty hard to enforce this. I can take a look.&lt;/p&gt;</comment>
                    <comment id="20238" author="beberlei" created="Thu, 9 May 2013 11:25:38 +0000"  >&lt;p&gt;Fixed and introduced a BC break for this.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/30f90a6f49d46d2f367ac774aa77e0c7ce1a573f#L0R31&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/30f90a6f49d46d2f367ac774aa77e0c7ce1a573f#L0R31&lt;/a&gt; for information.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2419] [GH-655] [DDC-2409] Fix merge association UnitOfWork::STATE_NEW</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2419</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/655&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/655&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2409&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2409&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14816">DDC-2419</key>
            <summary>[GH-655] [DDC-2409] Fix merge association UnitOfWork::STATE_NEW</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Sun, 28 Apr 2013 20:09:18 +0000</created>
                <updated>Wed, 1 May 2013 09:02:01 +0000</updated>
                    <resolved>Wed, 1 May 2013 09:02:01 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                <fixVersion>2.3.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20138" author="doctrinebot" created="Wed, 1 May 2013 08:49:34 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-655&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/655&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/655&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2417] [GH-653] [DDC-2415] Fix CustomIdGenerator inheritance</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2417</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/653&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/653&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2415&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2415&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14814">DDC-2417</key>
            <summary>[GH-653] [DDC-2415] Fix CustomIdGenerator inheritance</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Fri, 26 Apr 2013 19:24:16 +0000</created>
                <updated>Sat, 27 Apr 2013 07:50:17 +0000</updated>
                    <resolved>Sat, 27 Apr 2013 07:50:17 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20113" author="doctrinebot" created="Sat, 27 Apr 2013 07:41:02 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-653&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/653&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/653&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2409] Merge operation tries to add new detached entities to indentity map and load them as proxies</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2409</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
class A
    {
       /**
        *  @ORM\ManyToOne(targetEntity= &lt;span class=&quot;code-quote&quot;&gt;&quot;B&quot;&lt;/span&gt;...
        *  @ORM\JoinColumn(name=&quot; ...
        */
        &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $b;
        
        &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getB()
        {
            &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;b;
        }
        
        &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function setB($b)
        {
            $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;b = $b;
        }
}
    
    class B
	{
       /**
        * As
        *
        * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; \Doctrine\Common\Collections\Collection
        *
        * @ORM\OneToMany(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;A&quot;&lt;/span&gt;, mappedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;B&quot;&lt;/span&gt;)
        */
		&lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $As;
    }
	
	$b = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \B();
	
	$a = $em-&amp;gt;find(&apos;A&apos;, 123);
	
	$a-&amp;gt;setB($b);
	
	$em-&amp;gt;detach($a);
	
	$em-&amp;gt;detach($b);
	
	$b = $em-&amp;gt;merge($b); &lt;span class=&quot;code-comment&quot;&gt;// notice that $b now is merged
&lt;/span&gt;	
	$a = $em-&amp;gt;merge($a); &lt;span class=&quot;code-comment&quot;&gt;//  hangs as it creates the proxy &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; $b and tries to load a though __load even though $b is already managed&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Couple of possible issues in the following code from doMerge:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($assoc2[&apos;type&apos;] &amp;amp; ClassMetadata::TO_ONE) {
                        $other = $prop-&amp;gt;getValue($entity);
                        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($other === &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) {
                            $prop-&amp;gt;setValue($managedCopy, &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);
                        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($other &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; Proxy &amp;amp;&amp;amp; !$other-&amp;gt;__isInitialized__) {
                            &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; not merge fields marked lazy that have not been fetched.
&lt;/span&gt;                            &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;;
                        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ( ! $assoc2[&apos;isCascadeMerge&apos;]) {
                            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;getEntityState($other, self::STATE_DETACHED) !== self::STATE_MANAGED) {
                                $targetClass = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;em-&amp;gt;getClassMetadata($assoc2[&apos;targetEntity&apos;]);
                                $relatedId = $targetClass-&amp;gt;getIdentifierValues($other);

                                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ($targetClass-&amp;gt;subClasses) {
                                    $other = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;em-&amp;gt;find($targetClass-&amp;gt;name, $relatedId);
                                } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
                                    $other = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;em-&amp;gt;getProxyFactory()-&amp;gt;getProxy($assoc2[&apos;targetEntity&apos;], $relatedId);
                                    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;registerManaged($other, $relatedId, array());
                                }
                            }
                            $prop-&amp;gt;setValue($managedCopy, $other);
                        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
     $relatedId = $targetClass-&amp;gt;getIdentifierValues($other);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;$relatedId is emply as the detached $other was never flushed. It should never be used to add this entity to the identityMap ($this-&amp;gt;registerManaged($other, $relatedId, array())&lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/wink.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$other = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;em-&amp;gt;getProxyFactory()-&amp;gt;getProxy($assoc2[&apos;targetEntity&apos;], $relatedId);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This should never use the proxy factory for new detached entities as they are already merged back ($b). This method seems to not have any means to find managed $b.&lt;/p&gt;

&lt;p&gt;If $b = $em-&amp;gt;merge($b); was not called, the method would probably have worked but I think it is not right to rely on that calling or not calling certain methods or their order.&lt;/p&gt;


</description>
                <environment></environment>
            <key id="14798">DDC-2409</key>
            <summary>Merge operation tries to add new detached entities to indentity map and load them as proxies</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="deatheriam">Oleg Namaka</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Apr 2013 17:58:56 +0000</created>
                <updated>Sun, 5 May 2013 14:02:44 +0000</updated>
                    <resolved>Wed, 1 May 2013 09:01:46 +0000</resolved>
                            <version>2.3.1</version>
                                <fixVersion>2.4</fixVersion>
                <fixVersion>2.3.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20139" author="beberlei" created="Wed, 1 May 2013 09:01:46 +0000"  >&lt;p&gt;Merged Fabios Pull Request&lt;/p&gt;</comment>
                    <comment id="20144" author="deatheriam" created="Wed, 1 May 2013 12:14:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/655&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/655&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2407] AbstractExporter _getIdGeneratorTypeString does not know about the UUID generator</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2407</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Shouldn&apos;t the AbstractExporter-&amp;gt;_getIdGeneratorTypeString() method also know about the UUID generator ?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14793">DDC-2407</key>
            <summary>AbstractExporter _getIdGeneratorTypeString does not know about the UUID generator</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="jeelo">Jeroen</reporter>
                        <labels>
                    </labels>
                <created>Sat, 20 Apr 2013 05:50:21 +0000</created>
                <updated>Sat, 20 Apr 2013 08:25:57 +0000</updated>
                    <resolved>Sat, 20 Apr 2013 08:25:57 +0000</resolved>
                            <version>2.3.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20072" author="beberlei" created="Sat, 20 Apr 2013 08:25:57 +0000"  >&lt;p&gt;Fixed for 2.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2396] [GH-646] Oracle Pagination bug when ordering is present</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2396</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of raykolbe:&lt;/p&gt;

&lt;p&gt;Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/646&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/646&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Please reference &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1800&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1800&lt;/a&gt; and &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1958#comment-19969&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1958#comment-19969&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14772">DDC-2396</key>
            <summary>[GH-646] Oracle Pagination bug when ordering is present</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Apr 2013 20:35:23 +0000</created>
                <updated>Sun, 14 Apr 2013 08:54:03 +0000</updated>
                    <resolved>Sun, 14 Apr 2013 08:54:03 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19973" author="doctrinebot" created="Wed, 10 Apr 2013 17:49:38 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-646&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/646&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/646&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2392] [GH-644] Fixed typos</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2392</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of pborreli:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/644&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/644&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14765">DDC-2392</key>
            <summary>[GH-644] Fixed typos</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 6 Apr 2013 14:16:11 +0000</created>
                <updated>Sat, 6 Apr 2013 14:50:28 +0000</updated>
                    <resolved>Sat, 6 Apr 2013 14:50:28 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2384] [GH-639] Added abillity to use metacolumn as indexBy</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2384</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of goetas:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/639&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/639&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Added ability to use meta column as indexBy. Useful if association entities is widely used. &lt;br/&gt;
Replace #204 PR&lt;/p&gt;</description>
                <environment></environment>
            <key id="14749">DDC-2384</key>
            <summary>[GH-639] Added abillity to use metacolumn as indexBy</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Apr 2013 08:08:59 +0000</created>
                <updated>Fri, 10 May 2013 06:53:44 +0000</updated>
                    <resolved>Fri, 10 May 2013 06:53:44 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20265" author="doctrinebot" created="Fri, 10 May 2013 06:53:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-639&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/639&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/639&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2369] [GH-630] Hotfix for DDC-2359</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2369</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/630&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/630&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;`Doctrine\ORM\Mapping\ClassMetadataFactory#wakeupReflection` is called twice as of &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2359&quot; title=&quot;ClassMetadataFactory::wakeupReflection() is called twice&quot;&gt;&lt;del&gt;DDC-2359&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14723">DDC-2369</key>
            <summary>[GH-630] Hotfix for DDC-2359</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Mar 2013 18:42:28 +0000</created>
                <updated>Sun, 24 Mar 2013 19:23:57 +0000</updated>
                    <resolved>Sun, 24 Mar 2013 19:23:57 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19890" author="beberlei" created="Sun, 24 Mar 2013 18:42:34 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-630&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/630&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/630&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19892" author="beberlei" created="Sun, 24 Mar 2013 19:23:40 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-630&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/630&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/630&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2366] [GH-627] update document on Doctrine cache provider</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2366</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of chuanma:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/627&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/627&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;A number of methods have been deleted long time ago. But they still show up on the document page.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html#deleting&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html#deleting&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html#counting&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/caching.html#counting&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I checked source code. Most of the methods don&apos;t exist. They are better to be removed from the doc. I tried to use those functions and was surprised that they didn&apos;t exist.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14718">DDC-2366</key>
            <summary>[GH-627] update document on Doctrine cache provider</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Mar 2013 22:50:11 +0000</created>
                <updated>Sun, 24 Mar 2013 20:22:32 +0000</updated>
                    <resolved>Sun, 24 Mar 2013 20:22:31 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19893" author="beberlei" created="Sun, 24 Mar 2013 20:22:26 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-627&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/627&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/627&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2360] [GH-622] Import EntityManager from proper namespace</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2360</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of hrubi:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/622&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/622&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14710">DDC-2360</key>
            <summary>[GH-622] Import EntityManager from proper namespace</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Mar 2013 14:57:59 +0000</created>
                <updated>Wed, 1 May 2013 12:43:56 +0000</updated>
                    <resolved>Wed, 1 May 2013 12:43:56 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19880" author="beberlei" created="Thu, 21 Mar 2013 16:31:30 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-622&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/622&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/622&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2359] ClassMetadataFactory::wakeupReflection() is called twice</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2359</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;ClassMetadataFactory::wakeupReflection() is called in Common\...\AbstractClassMetadataFactory::loadMetadata() at the end of the method. A few lines after that ORM\...\ClassMetadatafactory::doLoadMeadata() is called, where wakeupReflection() was already called. I think this has been overlooked during the refactoring of the factories. I think the call in doLoadMetadata() is redundant..&lt;/p&gt;</description>
                <environment></environment>
            <key id="14707">DDC-2359</key>
            <summary>ClassMetadataFactory::wakeupReflection() is called twice</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="dershao">Stefan Kleff</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Mar 2013 14:01:27 +0000</created>
                <updated>Sun, 24 Mar 2013 19:24:09 +0000</updated>
                    <resolved>Sun, 24 Mar 2013 19:24:09 +0000</resolved>
                            <version>Git Master</version>
                <version>2.3.2</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Mapping Drivers</component>
                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19891" author="ocramius" created="Sun, 24 Mar 2013 18:51:50 +0000"  >&lt;p&gt;Fix at &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2369&quot; title=&quot;[GH-630] Hotfix for DDC-2359&quot;&gt;&lt;del&gt;DDC-2369&lt;/del&gt;&lt;/a&gt; - &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/630&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/630&lt;/a&gt; &lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2358] [GH-621] [doc] adding some more doc and examples for lifecycle event listeners and subscribers</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2358</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of dbu:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/621&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/621&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;as requested in &lt;a href=&quot;https://github.com/symfony/symfony-docs/pull/2301&quot; class=&quot;external-link&quot;&gt;https://github.com/symfony/symfony-docs/pull/2301&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14705">DDC-2358</key>
            <summary>[GH-621] [doc] adding some more doc and examples for lifecycle event listeners and subscribers</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="1">Fixed</resolution>
                                <assignee username="dbu">David Buchmann</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Mar 2013 23:46:58 +0000</created>
                <updated>Sat, 6 Apr 2013 15:05:08 +0000</updated>
                    <resolved>Sat, 6 Apr 2013 15:05:08 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2356] [GH-619] [DDC-2090] Fix MultiTableUpdateExecutor with query cache</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2356</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/619&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/619&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2090&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2090&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14700">DDC-2356</key>
            <summary>[GH-619] [DDC-2090] Fix MultiTableUpdateExecutor with query cache</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 17 Mar 2013 20:06:27 +0000</created>
                <updated>Sun, 17 Mar 2013 20:39:58 +0000</updated>
                    <resolved>Sun, 17 Mar 2013 20:39:54 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19868" author="beberlei" created="Sun, 17 Mar 2013 20:35:40 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-619&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/619&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/619&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19869" author="fabio.bat.silva" created="Sun, 17 Mar 2013 20:39:58 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/60b8bc63a1a4819cf112cfbbc7cca06b5792aba6&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/60b8bc63a1a4819cf112cfbbc7cca06b5792aba6&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2355] [GH-618] [DDC-2188] Fix arithmetic priority</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2355</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/618&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/618&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Hi guys,&lt;/p&gt;

&lt;p&gt;This patch fix &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2188&quot; title=&quot;DQL arithmetic priority is not considered in expression &amp;#39;a/(b*c)&amp;#39;&quot;&gt;&lt;del&gt;DDC-2188&lt;/del&gt;&lt;/a&gt;(&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2188&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2188&lt;/a&gt;),&lt;br/&gt;
Not sure if it could be considered a BC break.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;</description>
                <environment></environment>
            <key id="14699">DDC-2355</key>
            <summary>[GH-618] [DDC-2188] Fix arithmetic priority</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Mar 2013 17:41:27 +0000</created>
                <updated>Sat, 6 Apr 2013 14:57:44 +0000</updated>
                    <resolved>Sat, 6 Apr 2013 14:57:44 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2345] convertObjectParameterToScalarValue() raises a notice</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2345</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;In &lt;tt&gt;Doctrine\ORM\AbstractQuery.php&lt;/tt&gt;, the method &lt;tt&gt;convertObjectParameterToScalarValue()&lt;/tt&gt; can raise a Notice.&lt;br/&gt;
This code:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$value = $values[$class-&amp;gt;getSingleIdentifierFieldName()];
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;should be changed in this one:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (isset($values[$class-&amp;gt;getSingleIdentifierFieldName()])) {
    $value = $values[$class-&amp;gt;getSingleIdentifierFieldName()];
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; </description>
                <environment></environment>
            <key id="14685">DDC-2345</key>
            <summary>convertObjectParameterToScalarValue() raises a notice</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="garak">Massimiliano Arione</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 12:45:46 +0000</created>
                <updated>Wed, 1 May 2013 17:49:00 +0000</updated>
                    <resolved>Wed, 1 May 2013 17:49:00 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19827" author="ocramius" created="Tue, 12 Mar 2013 12:50:03 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=garak&quot; class=&quot;user-hover&quot; rel=&quot;garak&quot;&gt;Massimiliano Arione&lt;/a&gt; the current DQL implementation doesn&apos;t allow you to bind composite key identifiers as parameters, thus you will never reach that piece of code.&lt;/p&gt;

&lt;p&gt;A test would be needed for this case.&lt;/p&gt;</comment>
                    <comment id="19828" author="garak" created="Tue, 12 Mar 2013 12:58:28 +0000"  >&lt;p&gt;Unfortunately, I&apos;m not really a Doctrine guru.&lt;br/&gt;
I can tell you that I&apos;m getting that notice, using Sortable behavior with Symfony2.&lt;br/&gt;
This is a partial error stack:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;1 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 282

2 at ErrorHandler -&amp;gt;handle (&apos;8&apos;, &apos;Undefined index: id&apos;, &apos;(...)/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php&apos;, &apos;282&apos;, array(&apos;value&apos; =&amp;gt; object(MyEntity), &apos;class&apos; =&amp;gt; object(ClassMetadata), &apos;values&apos; =&amp;gt; array()))

3 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 282
at AbstractQuery -&amp;gt;convertObjectParameterToScalarValue (object(MyEntity))

4 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 260
at AbstractQuery -&amp;gt;processParameterValue (object(MyEntity))

5 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php at line 285
at Query -&amp;gt;processParameterMappings (array(&apos;group__1&apos; =&amp;gt; array(&apos;0&apos;)))

6 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php at line 258
at Query -&amp;gt;_doExecute ()

7 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 737
at AbstractQuery -&amp;gt;execute (&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;, &apos;1&apos;)

8 in (...)/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 538
at AbstractQuery -&amp;gt;getResult ()

9 in (...)/vendor/gedmo/doctrine-extensions/lib/Gedmo/Sortable/SortableListener.php at line 410
at SortableListener -&amp;gt;getMaxPosition (object(EntityManager), object(ClassMetadata), array(&apos;position&apos; =&amp;gt; &apos;rank&apos;, &apos;groups&apos; =&amp;gt; array(&apos;my_entity&apos;), &apos;useObjectClass&apos; =&amp;gt; &apos;Meeting\GestioneBundle\Entity\MyRelatedEntity&apos;), object(MyRelatedEntity))

10 in (...)/vendor/gedmo/doctrine-extensions/lib/Gedmo/Sortable/SortableListener.php at line 114
at SortableListener -&amp;gt;prePersist (object(LifecycleEventArgs))

11 in (...)/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php at line 61
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="19829" author="ocramius" created="Tue, 12 Mar 2013 13:19:38 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=garak&quot; class=&quot;user-hover&quot; rel=&quot;garak&quot;&gt;Massimiliano Arione&lt;/a&gt; having a composite primary key?&lt;/p&gt;</comment>
                    <comment id="19830" author="garak" created="Tue, 12 Mar 2013 13:25:51 +0000"  >&lt;p&gt;Nope, just a plain &quot;id&quot;.&lt;/p&gt;</comment>
                    <comment id="20170" author="beberlei" created="Wed, 1 May 2013 17:49:00 +0000"  >&lt;p&gt;Fixed in 2.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2334] [GH-602] Added $isIdentifierColumn documentation</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2334</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of alex88:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/602&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/602&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I&apos;ve added the documentation of the argument $isIdentifierColumn since in case of foreign composite keys it doesn&apos;t&#65533;&#65533;hydrate more then one row.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14669">DDC-2334</key>
            <summary>[GH-602] Added $isIdentifierColumn documentation</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Mar 2013 09:49:18 +0000</created>
                <updated>Tue, 12 Mar 2013 18:31:15 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 18:31:15 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19839" author="beberlei" created="Tue, 12 Mar 2013 18:30:42 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-602&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/602&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/602&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2333] [GH-601] Add &apos;contains&apos; comparison</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2333</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jankramer:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/601&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/601&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;As mentioned by @stof in doctrine/collections#5, the &apos;contains&apos; comparison for matching collections should also be added to the ORM. &lt;/p&gt;

&lt;p&gt;The first commit is only present in this PR because the doctrine/collections 1.0 release does not contain the recent addition. It should be removed/altered after a new version has been tagged, I think?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14667">DDC-2333</key>
            <summary>[GH-601] Add &apos;contains&apos; comparison</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Mar 2013 14:13:31 +0000</created>
                <updated>Tue, 12 Mar 2013 18:38:48 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 18:38:33 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19841" author="beberlei" created="Tue, 12 Mar 2013 18:38:24 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-601&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/601&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/601&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2330] [GH-599] Removed unnecessary &quot;&lt;?php&quot; from the docs</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2330</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of alexcarol:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/599&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/599&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14659">DDC-2330</key>
            <summary>[GH-599] Removed unnecessary &quot;&lt;?php&quot; from the docs</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Mar 2013 22:18:31 +0000</created>
                <updated>Mon, 4 Mar 2013 22:39:09 +0000</updated>
                    <resolved>Mon, 4 Mar 2013 22:39:09 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19803" author="beberlei" created="Mon, 4 Mar 2013 22:39:09 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-599&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/599&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/599&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2327] [GH-596] Missing link to a cookbook in the docs</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2327</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of mnapoli:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/596&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/596&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The cookbook existed in the docs but there was no link to it in the docs.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14648">DDC-2327</key>
            <summary>[GH-596] Missing link to a cookbook in the docs</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 14:17:25 +0000</created>
                <updated>Mon, 4 Mar 2013 22:18:56 +0000</updated>
                    <resolved>Mon, 4 Mar 2013 22:18:56 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19800" author="beberlei" created="Mon, 4 Mar 2013 22:18:40 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-596&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/596&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/596&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2326] [GH-595] Fixed broken code block in documentation</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2326</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of mnapoli:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/595&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/595&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14647">DDC-2326</key>
            <summary>[GH-595] Fixed broken code block in documentation</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Mar 2013 14:11:47 +0000</created>
                <updated>Tue, 12 Mar 2013 18:32:21 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 18:32:20 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19840" author="beberlei" created="Tue, 12 Mar 2013 18:31:56 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-595&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/595&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/595&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2320] [GH-591] Remove dead code</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2320</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Aitboudad:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/591&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/591&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14551">DDC-2320</key>
            <summary>[GH-591] Remove dead code</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Feb 2013 00:03:51 +0000</created>
                <updated>Tue, 12 Mar 2013 18:52:52 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 18:52:52 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2312] [GH-586] Fix EntityManager doc</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2312</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of jsjohns:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/586&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/586&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14540">DDC-2312</key>
            <summary>[GH-586] Fix EntityManager doc</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Feb 2013 22:28:59 +0000</created>
                <updated>Thu, 21 Feb 2013 22:57:34 +0000</updated>
                    <resolved>Thu, 21 Feb 2013 22:57:34 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19671" author="beberlei" created="Thu, 21 Feb 2013 22:57:05 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-586&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/586&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/586&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2311] ManyToManyPersister fails to delete when entity uses FK ID</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2311</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;ManyToManyPersister::getDeleteSQLParameters assumes $srcColumn contains a field name; doesn&apos;t handle association case.&lt;/p&gt;

&lt;p&gt;ManyToManyPerister.php, lines 204-209:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-comment&quot;&gt;// Composite identifier
&lt;/span&gt;$sourceClass = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getClassMetadata($mapping[&apos;sourceEntity&apos;]);
foreach ($mapping[&apos;relationToSourceKeyColumns&apos;] as $relColumn =&amp;gt; $srcColumn) {
   $params[] = $identifier[$sourceClass-&amp;gt;fieldNames[$srcColumn]];
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="14514">DDC-2311</key>
            <summary>ManyToManyPersister fails to delete when entity uses FK ID</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="chrisrichard">Chris Richard</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Feb 2013 18:08:00 +0000</created>
                <updated>Tue, 16 Apr 2013 18:16:30 +0000</updated>
                    <resolved>Tue, 16 Apr 2013 18:16:30 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19670" author="fabio.bat.silva" created="Thu, 21 Feb 2013 21:12:28 +0000"  >&lt;p&gt;Hi Chris,&lt;/p&gt;

&lt;p&gt;Could you try to add a failing test case please ?&lt;/p&gt;

&lt;p&gt;Cheers.&lt;/p&gt;</comment>
                    <comment id="20034" author="fabio.bat.silva" created="Tue, 16 Apr 2013 18:16:30 +0000"  >&lt;p&gt;Fixed by : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/cef20890dc75c11880827226e25f3fc6d5d66127&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/cef20890dc75c11880827226e25f3fc6d5d66127&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2306] Lazy loading associated entity&apos;s property causes identity loss when another association is set to fetch=&quot;EAGER&quot;</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2306</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;There appears to be a bug in UnitOfWork.php, introduced in &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/afee16e56bae9bfe93c96ef1398f077e534962a0#L9R2473&quot; class=&quot;external-link&quot;&gt;Merge pull request #406 from Ocramius/DCOM-96&lt;/a&gt;. The relevant section is lines 2479-2495.&lt;/p&gt;

&lt;p&gt;In the attached test sandbox, there are 4 entities. &lt;/p&gt;

&lt;p&gt;User and Address have a many-many relationship via UserAddress &amp;#8211; this more or less duplicates what I have in my actual application. There is another entity that both User and Address refer to in a one-to-many relationship &amp;#8211; Zone. &lt;/p&gt;

&lt;p&gt;When the Zone relationship on User and Address is set to fetch=&quot;LAZY&quot;, the problem is absent. When the relationship is set to fetch=&quot;EAGER&quot;, the problem manifests as such:&lt;/p&gt;

&lt;p&gt;When I load a User via $em-&amp;gt;find(), and then access properties on a related Address, the identity of the Address is lost. The same is true going in the other direction. I var_dump the Address before accessing its street property, and it shows up properly as an uninitialized proxy with just the id set. After I access the street property of the Address, var_dump shows the proxy is loaded and initialized, with all properties set &lt;em&gt;except&lt;/em&gt; the identity, which is now null.&lt;/p&gt;

&lt;p&gt;I stepped through the code using XDebug, and found that the referenced lines in UnitOfWork.php are setting the created Address entity&apos;s properties incorrectly, removing the identity from the generated entity. It seems to have something to do with the _hints parameter. &lt;/p&gt;

&lt;p&gt;I&apos;m not sure what the fix is, because I am not familiar enough with this part of the code and what it is intended to do. I assume that this is not intended behavior.&lt;/p&gt;

&lt;p&gt;I&apos;ve included my test case sandbox, which references ../../../../autoload.php to load Doctrine. This was tested against doctrine2/master as of today.&lt;/p&gt;</description>
                <environment>PHP 5.4 - IIS 7.0</environment>
            <key id="14506">DDC-2306</key>
            <summary>Lazy loading associated entity&apos;s property causes identity loss when another association is set to fetch=&quot;EAGER&quot;</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="wschalle">William Schaller</reporter>
                        <labels>
                        <label>orm</label>
                        <label>proxy</label>
                        <label>unitofwork</label>
                    </labels>
                <created>Wed, 20 Feb 2013 05:40:54 +0000</created>
                <updated>Tue, 26 Feb 2013 08:27:25 +0000</updated>
                    <resolved>Tue, 26 Feb 2013 08:27:25 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due>Fri, 22 Feb 2013 00:00:00 +0000</due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="19573" author="ocramius" created="Thu, 21 Feb 2013 01:29:19 +0000"  >&lt;p&gt;I&apos;ve created a branch with a fix at &lt;a href=&quot;https://github.com/Ocramius/doctrine2/compare/hotfix;DDC-2306&quot; class=&quot;external-link&quot;&gt;https://github.com/Ocramius/doctrine2/compare/hotfix;DDC-2306&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Basically, what was happening here is a really nasty one: &lt;/p&gt;

&lt;p&gt;The UnitOfWork did consider the `Zone` entity as if it was a `User` entity (not comparing classnames, basically). Since the identifier was also the same in this case, the two entities were compared as if the newly loaded `Zone` had to replace the existing `User` proxy.&lt;/p&gt;

&lt;p&gt;Thus, the proxy was marked as un-managed and trashed (and so the identifier was also nulled).&lt;/p&gt;

&lt;p&gt;Please pull the branch and give it a try. I&apos;ll re-read it tomorrow and then open a PR.&lt;/p&gt;</comment>
                    <comment id="19574" author="wschalle" created="Thu, 21 Feb 2013 04:10:27 +0000"  >&lt;p&gt;This fixes the problem for the test case and for my app. Excellent speedy fix, thanks &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="19575" author="beberlei" created="Thu, 21 Feb 2013 08:36:52 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-585&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/585&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/585&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19685" author="beberlei" created="Tue, 26 Feb 2013 05:55:52 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-585&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/585&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/585&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11379" name="sandbox-uow-issue.zip" size="11305" author="wschalle" created="Wed, 20 Feb 2013 05:40:54 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2304] [GH-583] accept more than 2 parameters in CONCAT function</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2304</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of broncha:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/583&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/583&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The DBAL Platform supports more then 2 parameters but the ConcatFunction only validates 2 parameters to CONCAT. This commit allows to pass more than 2 parameters to CONCAT. Also this change would require that `getConcatExpression` accept array as a parameter. I have opened a pull request for that as well.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14498">DDC-2304</key>
            <summary>[GH-583] accept more than 2 parameters in CONCAT function</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Feb 2013 15:47:22 +0000</created>
                <updated>Tue, 12 Mar 2013 19:01:30 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 19:01:19 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2294] [GH-579] Unit tests: cleanup of outdated / unused / commented out code</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2294</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/579&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/579&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Many methods in unit tests were unused, in particular in mocks, where methods overriding in the past were not overriding anything anymore.&lt;/p&gt;

&lt;p&gt;Some commented out code was referring to features that seem to have been removed years ago, so I removed it as well.&lt;/p&gt;

&lt;p&gt;`HydratorMockStatement::bindParam()` was adding extra parameter that its parent did not define, and that were never used, so I removed them as well.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14477">DDC-2294</key>
            <summary>[GH-579] Unit tests: cleanup of outdated / unused / commented out code</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Feb 2013 15:56:25 +0000</created>
                <updated>Tue, 12 Mar 2013 19:00:56 +0000</updated>
                    <resolved>Tue, 12 Mar 2013 19:00:56 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2291] [GH-576] Update docs/en/reference/batch-processing.rst</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2291</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of acasademont:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/576&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/576&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop.&lt;/p&gt;

&lt;p&gt;In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14471">DDC-2291</key>
            <summary>[GH-576] Update docs/en/reference/batch-processing.rst</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Feb 2013 15:32:33 +0000</created>
                <updated>Mon, 11 Feb 2013 15:51:13 +0000</updated>
                    <resolved>Mon, 11 Feb 2013 15:51:13 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19530" author="beberlei" created="Mon, 11 Feb 2013 15:51:02 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-576&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/576&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/576&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2289] [GH-575] Added YAML configuration example for &quot;Simple Derived Identity&quot; in Docs</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2289</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of naitsirch:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/575&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/575&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;I have added a missing YAML configuration example to the tutorial. Because I needed it for myself &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/wink.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/composite-primary-keys.html#use-case-2-simple-derived-identity&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/composite-primary-keys.html#use-case-2-simple-derived-identity&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I hope the YAML definition is correct.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14469">DDC-2289</key>
            <summary>[GH-575] Added YAML configuration example for &quot;Simple Derived Identity&quot; in Docs</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Feb 2013 10:28:23 +0000</created>
                <updated>Mon, 11 Feb 2013 15:50:26 +0000</updated>
                    <resolved>Mon, 11 Feb 2013 15:50:26 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19529" author="beberlei" created="Mon, 11 Feb 2013 15:50:13 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-575&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/575&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/575&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2276] [GH-569] Hotfix/pre flush event args params</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2276</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Ocramius:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/569&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/569&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;As reported by a user on IRC, the `PreFlushEventArgs` object was built with incorrect parameters. this fix solves the problem by typehinting the constructor.&lt;/p&gt;

&lt;p&gt;Tests aren&apos;t really necessary since a lot of functional tests were simply broken because of this additional typehint.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14455">DDC-2276</key>
            <summary>[GH-569] Hotfix/pre flush event args params</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Feb 2013 19:50:50 +0000</created>
                <updated>Tue, 12 Feb 2013 23:40:41 +0000</updated>
                    <resolved>Tue, 12 Feb 2013 23:40:41 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19537" author="beberlei" created="Tue, 12 Feb 2013 23:39:53 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-569&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/569&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/569&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19538" author="fabio.bat.silva" created="Tue, 12 Feb 2013 23:40:41 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/719031f2effd2074d94c709b6b7311fb0773fb7f&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/719031f2effd2074d94c709b6b7311fb0773fb7f&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2274] [GH-567] Removed outdated methods in DatabasePlatformMock</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2274</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/567&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/567&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;`DatabasePlatformMock::getNativeDeclaration()` and `getPortableDeclaration()` do not override an existing method in `AbstractPlatform`.&lt;br/&gt;
I guess they are leftovers of a previous version, and should be removed.&lt;/p&gt;
</description>
                <environment></environment>
            <key id="14449">DDC-2274</key>
            <summary>[GH-567] Removed outdated methods in DatabasePlatformMock</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Feb 2013 01:54:16 +0000</created>
                <updated>Tue, 5 Feb 2013 15:10:48 +0000</updated>
                    <resolved>Tue, 5 Feb 2013 15:10:48 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19461" author="beberlei" created="Sun, 3 Feb 2013 04:03:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-567&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/567&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/567&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19472" author="fabio.bat.silva" created="Tue, 5 Feb 2013 15:10:48 +0000"  >&lt;p&gt;merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/ef1ed588b5db6f87399772f953bf8b6dc4d2556d&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/ef1ed588b5db6f87399772f953bf8b6dc4d2556d&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2273] [GH-566] Added missing return statement to AbstractCommand.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2273</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/566&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/566&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The `AbstractCommand::execute()` method should return an `integer`, or `null`.&lt;/p&gt;

&lt;p&gt;Although in PHP, omitting the `return` statement is equivalent to returning `null`, it is recommended to put an explicit `return` to clearly differentiate it from `return void`.&lt;/p&gt;

&lt;p&gt;I&apos;ve added `return 0;` here, keeping the existent behavior.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14448">DDC-2273</key>
            <summary>[GH-566] Added missing return statement to AbstractCommand.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Feb 2013 01:41:14 +0000</created>
                <updated>Tue, 5 Feb 2013 15:11:36 +0000</updated>
                    <resolved>Tue, 5 Feb 2013 15:11:36 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19462" author="beberlei" created="Sun, 3 Feb 2013 04:04:36 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-566&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/566&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/566&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19473" author="fabio.bat.silva" created="Tue, 5 Feb 2013 15:11:36 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/d3cbdfcafa3e8dbb1d3f7029f31eb6412855c097&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/d3cbdfcafa3e8dbb1d3f7029f31eb6412855c097&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2272] [GH-565] Removed an unused local variable.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2272</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/565&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/565&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This PR removes an unused (redundant) local variable declaration.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14447">DDC-2272</key>
            <summary>[GH-565] Removed an unused local variable.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Feb 2013 01:08:17 +0000</created>
                <updated>Tue, 5 Feb 2013 15:12:14 +0000</updated>
                    <resolved>Tue, 5 Feb 2013 15:12:14 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19463" author="beberlei" created="Sun, 3 Feb 2013 04:05:52 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-565&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/565&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/565&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19474" author="fabio.bat.silva" created="Tue, 5 Feb 2013 15:12:14 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/114827a4b32fe309519cf3f9bdfedb3599d52f37&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/114827a4b32fe309519cf3f9bdfedb3599d52f37&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2268] Lexer error using string functions inside CASE WHEN</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2268</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;When using the CASE WHEN expression in DQL a Lexer error is thrown if the THEN condition uses a FunctionsReturningStrings function. For example, the following query is valid in SQL:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sql&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;SELECT&lt;/span&gt; t.*, CASE WHEN LENGTH(t.myfield) &amp;lt;&amp;gt; 0 THEN CONCAT(t.myfield, t.myfield2) ELSE t.myfield2 END as mycasefield &lt;span class=&quot;code-keyword&quot;&gt;FROM&lt;/span&gt; mytable AS t&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, if the CONCAT function is used in DQL the exception is raised.&lt;/p&gt;</description>
                <environment>Windows 8 64bit, IIS Express 8, PHP 5.4.9</environment>
            <key id="14443">DDC-2268</key>
            <summary>Lexer error using string functions inside CASE WHEN</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="vecchia">Stefano</reporter>
                        <labels>
                        <label>dql</label>
                    </labels>
                <created>Sat, 2 Feb 2013 14:13:42 +0000</created>
                <updated>Sat, 2 Feb 2013 19:55:03 +0000</updated>
                    <resolved>Sat, 2 Feb 2013 19:55:02 +0000</resolved>
                            <version>2.3.2</version>
                                <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19454" author="fabio.bat.silva" created="Sat, 2 Feb 2013 19:55:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/1627fc95965a3e2e3894fcf7e524eb0eaa9d0ddd&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/1627fc95965a3e2e3894fcf7e524eb0eaa9d0ddd&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2266] [GH-562] Fix error in QueryBuilder example</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2266</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of vrana:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/562&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/562&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14435">DDC-2266</key>
            <summary>[GH-562] Fix error in QueryBuilder example</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Jan 2013 19:12:17 +0000</created>
                <updated>Tue, 5 Feb 2013 15:13:53 +0000</updated>
                    <resolved>Tue, 5 Feb 2013 15:13:53 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19451" author="beberlei" created="Sat, 2 Feb 2013 19:15:35 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-562&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/562&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/562&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19476" author="fabio.bat.silva" created="Tue, 5 Feb 2013 15:13:53 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/4651d92d634784d5d8d02af378afccb74935058c&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/4651d92d634784d5d8d02af378afccb74935058c&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2265] [GH-561] fix typo in the documentation</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2265</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of ftdebugger:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/561&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/561&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14434">DDC-2265</key>
            <summary>[GH-561] fix typo in the documentation</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Jan 2013 15:04:47 +0000</created>
                <updated>Tue, 5 Feb 2013 15:15:06 +0000</updated>
                    <resolved>Tue, 5 Feb 2013 15:15:06 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19452" author="beberlei" created="Sat, 2 Feb 2013 19:15:54 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-561&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/561&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/561&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19477" author="fabio.bat.silva" created="Tue, 5 Feb 2013 15:15:06 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/abc3ba0c7e039c469fb3f3ed96bdd4393085bfdb&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/abc3ba0c7e039c469fb3f3ed96bdd4393085bfdb&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2256] [GH-554] Fixed ObjectHydrator when namespace alias is given.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2256</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beregond:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/554&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/554&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Fixes problem when executing native query:&lt;br/&gt;
```php&lt;br/&gt;
$rsm = new ResultSetMapping();&lt;/p&gt;

&lt;p&gt;$rsm-&amp;gt;addEntityResult(&apos;DbBundle:Player&apos;, &apos;p&apos;);&lt;br/&gt;
$rsm-&amp;gt;addFieldResult(&apos;p&apos;, &apos;id&apos;, &apos;id&apos;);&lt;br/&gt;
$rsm-&amp;gt;addFieldResult(&apos;p&apos;, &apos;name&apos;, &apos;name&apos;);&lt;/p&gt;

&lt;p&gt;$rsm-&amp;gt;addJoinedEntityResult(&apos;DbBundle:User&apos;, &apos;u&apos;, &apos;p&apos;, &apos;user&apos;);&lt;br/&gt;
$rsm-&amp;gt;addFieldResult(&apos;u&apos;, &apos;user_id&apos;, &apos;id&apos;);&lt;/p&gt;

&lt;p&gt;$em-&amp;gt;createNativeQuery(&apos;...&apos;, $rsm);&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;Hydrator couldn&apos;t find cached metadata, when &quot;joined entity result&quot; class name wasn&apos;t fully qualified name (as in the example above).&lt;/p&gt;
</description>
                <environment></environment>
            <key id="14409">DDC-2256</key>
            <summary>[GH-554] Fixed ObjectHydrator when namespace alias is given.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Jan 2013 15:02:01 +0000</created>
                <updated>Tue, 5 Feb 2013 15:21:00 +0000</updated>
                    <resolved>Tue, 5 Feb 2013 15:21:00 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19453" author="beberlei" created="Sat, 2 Feb 2013 19:18:06 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-554&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/554&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/554&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19479" author="fabio.bat.silva" created="Tue, 5 Feb 2013 15:21:00 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/dea37ed9e84922f37ef21740671e5e29c94454d3&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/dea37ed9e84922f37ef21740671e5e29c94454d3&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2252] Trying to delete ManyToMany relatrionship with composite keys.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2252</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;When i try to delete some entities attached to an entity I&apos;ve got the following message.&lt;/p&gt;

&lt;p&gt;My entity is specified as follow.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    /**
     * @ORM\Id
     * @ORM\ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Entity\User\Account&quot;&lt;/span&gt;, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;memberships&quot;&lt;/span&gt;)
     * @ORM\JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $userAccount;

    /**
     * @ORM\Id
     * @ORM\ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Entity\Merchant\Account&quot;&lt;/span&gt;)
     * @ORM\JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_accountid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;accountid&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $merchantAccount;

    /**
     * @ORM\Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;datetime&quot;&lt;/span&gt;, name=&lt;span class=&quot;code-quote&quot;&gt;&quot;date&quot;&lt;/span&gt;)
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; datetime
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $date;

    /**
     * @ORM\Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt;&quot;&lt;/span&gt;)
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt;
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $administrator;

    /**
     * @ORM\ManyToMany(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Entity\User\Privilege&quot;&lt;/span&gt;, indexBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;privilegeid&quot;&lt;/span&gt;)
     * @ORM\JoinTable(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;fsbackend.user_mch_account_privilege&quot;&lt;/span&gt;,
     *   joinColumns={
     *       @ORM\JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_accountid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_accountid&quot;&lt;/span&gt;),
     *       @ORM\JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;)
     *   },
     *   inverseJoinColumns={
     *       @ORM\JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;privilegeid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;privilegeid&quot;&lt;/span&gt;)
     *   }
     * )
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $privileges;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I delete the related entities&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    $membership-&amp;gt;getPrivileges()-&amp;gt;clear();

    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;persist($userAccount);
    $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;flush();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I tried on doctrine 2.1.7 and the last doctrine version and same thing happens.&lt;/p&gt;

&lt;p&gt;Please find attached the error log.&lt;/p&gt;</description>
                <environment>Debian&lt;br/&gt;
PHP 5.3.7</environment>
            <key id="14401">DDC-2252</key>
            <summary>Trying to delete ManyToMany relatrionship with composite keys.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="yokoloko">Jeremie Tom tom</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Jan 2013 17:12:40 +0000</created>
                <updated>Tue, 16 Apr 2013 18:15:56 +0000</updated>
                    <resolved>Tue, 16 Apr 2013 18:15:56 +0000</resolved>
                            <version>2.1.7</version>
                <version>2.3.2</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19355" author="ocramius" created="Tue, 22 Jan 2013 17:16:36 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=yokoloko&quot; class=&quot;user-hover&quot; rel=&quot;yokoloko&quot;&gt;Jeremie Tom tom&lt;/a&gt; is the schema validated by the cli tools?&lt;/p&gt;</comment>
                    <comment id="19356" author="yokoloko" created="Tue, 22 Jan 2013 19:13:05 +0000"  >&lt;p&gt;Yes it&apos;s validated by the cli tools, if you are talking about the orm:validate-schema command.&lt;/p&gt;</comment>
                    <comment id="19358" author="yokoloko" created="Wed, 23 Jan 2013 09:23:19 +0000"  >&lt;p&gt;I think the problem is that my @Id are entities.&lt;/p&gt;</comment>
                    <comment id="19359" author="ocramius" created="Wed, 23 Jan 2013 09:35:58 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=yokoloko&quot; class=&quot;user-hover&quot; rel=&quot;yokoloko&quot;&gt;Jeremie Tom tom&lt;/a&gt; can you abstract it away into a test? &lt;/p&gt;</comment>
                    <comment id="19360" author="yokoloko" created="Wed, 23 Jan 2013 13:05:08 +0000"  >&lt;p&gt;Here is my test case.&lt;/p&gt;

&lt;p&gt;I put it IN Doctrine\Test\ORMJT.&lt;br/&gt;
I don&apos;t really know if you need something else, please let met know.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&amp;lt;?php

namespace Doctrine\Tests\ORMJT;

use Doctrine\ORM\Query;
use Doctrine\Common\Collections\ArrayCollection;

require_once __DIR__ . &apos;/../TestInit.php&apos;;

/**
 * Functional tests &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; the Single Table Inheritance mapping strategy.
 *
 * @author robo
 */
class AdvancedAssociationTest &lt;span class=&quot;code-keyword&quot;&gt;extends&lt;/span&gt; \Doctrine\Tests\OrmFunctionalTestCase
{
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; function setUp() {
        parent::setUp();
        &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; {
            $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_schemaTool-&amp;gt;createSchema(array(
                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getClassMetadata(&apos;Doctrine\Tests\ORMJT\User&apos;),
                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getClassMetadata(&apos;Doctrine\Tests\ORMJT\MerchantAccount&apos;),
                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getClassMetadata(&apos;Doctrine\Tests\ORMJT\Membership&apos;),
                $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;getClassMetadata(&apos;Doctrine\Tests\ORMJT\Privilege&apos;)
            ));
        } &lt;span class=&quot;code-keyword&quot;&gt;catch&lt;/span&gt; (\Exception $e) {
            &lt;span class=&quot;code-comment&quot;&gt;// Swallow all exceptions. We &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; not test the schema tool here.
&lt;/span&gt;        }
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function testIssue()
    {
        $user = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; User;
        $merchantAccount = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; MerchantAccount;
        $privilege = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Privilege;
        $membership = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Membership($user, $merchantAccount);
        $membership-&amp;gt;addPrivilege($privilege);

        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;persist($user);
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;persist($merchantAccount);
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;persist($privilege);
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;flush();

        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;persist($membership);
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;flush();

        $membership-&amp;gt;getPrivileges()-&amp;gt;clear();

        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_em-&amp;gt;flush();

        &lt;span class=&quot;code-comment&quot;&gt;// Never reached
&lt;/span&gt;        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;assertTrue(&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
    }
}


/**
 * @Entity
 * @Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_account&quot;&lt;/span&gt;)
 */
class MerchantAccount
{
    /**
     * @Id @GeneratedValue
     * @Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;bigint&quot;&lt;/span&gt;)
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; bigint $accountid
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $accountid;
}

/**
 * @Entity(repositoryClass=&lt;span class=&quot;code-quote&quot;&gt;&quot;Repository\User\PrivilegeRepository&quot;&lt;/span&gt;)
 * @Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;acl_privilege&quot;&lt;/span&gt;)
 */
class Privilege
{
    /**
     * @Id @GeneratedValue
     * @Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;bigint&quot;&lt;/span&gt;)
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; integer
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $privilegeid;
}

/**
 * @Entity
 * @Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;user_account&quot;&lt;/span&gt;)
 */
class User {
    /**
     * @Id @GeneratedValue
     * @Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;bigint&quot;&lt;/span&gt;)
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; integer
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $uid;

    /**
     * @OneToMany(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Membership&quot;&lt;/span&gt;, mappedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;userAccount&quot;&lt;/span&gt;, cascade={&lt;span class=&quot;code-quote&quot;&gt;&quot;persist&quot;&lt;/span&gt;})
     * @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $memberships;

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct()
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;memberships = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; ArrayCollection;
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getMemberships()
    {
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;memberships;
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function addMembership(Membership $membership)
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;memberships[] = $membership;
    }
}

/**
 * @Entity
 * @Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_account_member&quot;&lt;/span&gt;)
 * @HasLifecycleCallbacks
 */
class Membership
{
    /**
     * @Id
     * @ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;User&quot;&lt;/span&gt;, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;memberships&quot;&lt;/span&gt;)
     * @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $userAccount;

    /**
     * @Id
     * @ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;MerchantAccount&quot;&lt;/span&gt;)
     * @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_accountid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;accountid&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $merchantAccount;

    /**
     * @ManyToMany(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Privilege&quot;&lt;/span&gt;, indexBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;privilegeid&quot;&lt;/span&gt;)
     * @JoinTable(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;user_mch_account_privilege&quot;&lt;/span&gt;,
     *   joinColumns={
     *       @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_accountid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;mch_accountid&quot;&lt;/span&gt;),
     *       @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;)
     *   },
     *   inverseJoinColumns={
     *       @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;privilegeid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;privilegeid&quot;&lt;/span&gt;)
     *   }
     * )
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $privileges;

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct(User $user, MerchantAccount $merchantAccount)
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;userAccount = $user;
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;merchantAccount = $merchantAccount;
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;privileges = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; ArrayCollection();
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function addPrivilege($privilege)
    {
        $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;privileges[] = $privilege;
    }

    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getPrivileges()
    {
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;privileges;
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And i&apos;ve got the following error&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
1) Doctrine\Tests\ORMJT\AdvancedAssociationTest::testIssue
Exception: [PHPUnit_Framework_Error_Notice] Undefined index: mch_accountid
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="19361" author="ocramius" created="Wed, 23 Jan 2013 13:22:08 +0000"  >&lt;p&gt;Thank you so far, this makes it much easier to work with it!&lt;/p&gt;</comment>
                    <comment id="19417" author="yokoloko" created="Sat, 26 Jan 2013 11:59:02 +0000"  >&lt;p&gt;Interesting fact, if I only have one column in my jointable it works fine.&lt;/p&gt;

&lt;p&gt;eg. &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
class Membership
     *   ....
     *   @JoinTable(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;user_mch_account_privilege&quot;&lt;/span&gt;,
     *       joinColumns={
     *           @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;uid&quot;&lt;/span&gt;)
     *       }
     *   ....
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="19482" author="yokoloko" created="Thu, 7 Feb 2013 14:59:07 +0000"  >&lt;p&gt;Ok here is my two cents solution. passes the tests.&lt;/p&gt;</comment>
                    <comment id="19814" author="yokoloko" created="Tue, 5 Mar 2013 13:32:19 +0000"  >&lt;p&gt;Hi, any update on this issue?&lt;/p&gt;</comment>
                    <comment id="19815" author="ocramius" created="Tue, 5 Mar 2013 13:39:29 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=yokoloko&quot; class=&quot;user-hover&quot; rel=&quot;yokoloko&quot;&gt;Jeremie Tom tom&lt;/a&gt; will be checking this tomorrow&lt;/p&gt;</comment>
                    <comment id="19852" author="yokoloko" created="Thu, 14 Mar 2013 11:15:33 +0000"  >&lt;p&gt;Everything ok with the check?&lt;/p&gt;</comment>
                    <comment id="20033" author="fabio.bat.silva" created="Tue, 16 Apr 2013 18:15:56 +0000"  >&lt;p&gt;Fixed by : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/cef20890dc75c11880827226e25f3fc6d5d66127&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/cef20890dc75c11880827226e25f3fc6d5d66127&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11375" name="AdvancedAssociationTest.php" size="4014" author="yokoloko" created="Wed, 23 Jan 2013 13:05:08 +0000" />
                    <attachment id="11374" name="jira-doctrine.txt" size="8974" author="yokoloko" created="Tue, 22 Jan 2013 17:12:40 +0000" />
                    <attachment id="11377" name="patch.diff" size="1381" author="yokoloko" created="Thu, 7 Feb 2013 14:59:55 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2247] [GH-551] [DDC-2234] FUNCTION() IS NULL comparison</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2247</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/551&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/551&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This patch fix &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2234&quot; title=&quot;WHERE &amp;lt;&amp;lt;custom function&amp;gt;&amp;gt; IS NULL ... doesn&amp;#39;t work&quot;&gt;&lt;del&gt;DDC-2234&lt;/del&gt;&lt;/a&gt;: &lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2234&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2234&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14392">DDC-2247</key>
            <summary>[GH-551] [DDC-2234] FUNCTION() IS NULL comparison</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 19 Jan 2013 01:25:43 +0000</created>
                <updated>Sun, 20 Jan 2013 11:32:47 +0000</updated>
                    <resolved>Sun, 20 Jan 2013 11:32:47 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19341" author="beberlei" created="Sun, 20 Jan 2013 11:30:10 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-551&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/551&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/551&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2234] WHERE &lt;&lt;custom function&gt;&gt; IS NULL ... doesn&apos;t work</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2234</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I want to run this query :&lt;/p&gt;

&lt;p&gt;SELECT ifnull(a.field1, a.field1) as name FROM table a WHERE ifnull(a.field1, a.field1) IS NULL&lt;/p&gt;

&lt;p&gt;But I get an doctrine exception :&lt;/p&gt;

&lt;p&gt;Doctrine\ORM\Query\QueryException&apos; with message &apos;&lt;span class=&quot;error&quot;&gt;&amp;#91;Syntax Error&amp;#93;&lt;/span&gt; line 0, col 518: Error: Expected Doctrine\ORM\Query\Lexer::T_IS, got &apos;(&apos;&apos; in /library/Doctrine/ORM/Query/QueryException.php:52&lt;/p&gt;

&lt;p&gt;If I don&apos;t use the IS NULL in my where clause it is working perfectly. &lt;/p&gt;

&lt;p&gt;I think this issue is related to : &lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1472&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1472&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14373">DDC-2234</key>
            <summary>WHERE &lt;&lt;custom function&gt;&gt; IS NULL ... doesn&apos;t work</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="david_mattei">David</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Jan 2013 08:46:39 +0000</created>
                <updated>Sun, 20 Jan 2013 11:32:57 +0000</updated>
                    <resolved>Sun, 20 Jan 2013 11:32:57 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2215] [GH-543] Make doctrine a Light-weight distribution package in Composer</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2215</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of carlosbuenosvinos:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/543&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/543&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;In order to save space and bandwidth when installing doctrine using Composer, I have added .gitattributes removing files and folders unnecessary when using doctrine as a dependecy.&lt;/p&gt;

&lt;p&gt;(extracted from &lt;a href=&quot;http://getcomposer.org/doc/02-libraries.md#light-weight-distribution-packages&quot; class=&quot;external-link&quot;&gt;http://getcomposer.org/doc/02-libraries.md#light-weight-distribution-packages&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Including the tests and other useless information like .travis.yml in distributed packages is not a good idea.&lt;/p&gt;

&lt;p&gt;The .gitattributes file is a git specific file like .gitignore also living at the root directory of your library. It overrides local and global configuration (.git/config and ~/.gitconfig respectively) when present and tracked by git.&lt;/p&gt;

&lt;p&gt;Use .gitattributes to prevent unwanted files from bloating the zip distribution packages.&lt;/p&gt;

&lt;p&gt;// .gitattributes&lt;br/&gt;
/Tests export-ignore&lt;br/&gt;
phpunit.xml.dist export-ignore&lt;br/&gt;
Resources/doc/ export-ignore&lt;br/&gt;
.travis.yml export-ignore&lt;br/&gt;
Test it by inspecting the zip file generated manually:&lt;/p&gt;

&lt;p&gt;git archive branchName --format zip -o file.zip&lt;/p&gt;

&lt;p&gt;Note: Files would be still tracked by git just not included in the distribution. This will only work for GitHub packages installed from dist (i.e. tagged releases) for now.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14335">DDC-2215</key>
            <summary>[GH-543] Make doctrine a Light-weight distribution package in Composer</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Dec 2012 15:52:22 +0000</created>
                <updated>Sat, 19 Jan 2013 19:05:13 +0000</updated>
                    <resolved>Sat, 19 Jan 2013 19:05:13 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2209] [GH-540] [DDC-2208] Fix DDC-2208</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2209</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/540&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/540&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This patch fix &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2208&quot; title=&quot;CASE WHEN ... WHEN doesn&amp;#39;t work&quot;&gt;&lt;del&gt;DDC-2208&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2208&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2208&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14326">DDC-2209</key>
            <summary>[GH-540] [DDC-2208] Fix DDC-2208</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2012 01:41:13 +0000</created>
                <updated>Sat, 22 Dec 2012 11:59:17 +0000</updated>
                    <resolved>Sat, 22 Dec 2012 11:59:17 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19170" author="beberlei" created="Sat, 22 Dec 2012 11:53:20 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-540&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/540&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/540&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2208] CASE WHEN ... WHEN doesn&apos;t work</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2208</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Having the following part in select DQL throws an exception.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sql&quot;&gt;
SUM(CASE
            WHEN c.startDate &amp;lt;= :start THEN c.endDate - :start
            WHEN c.endDate &amp;gt;= :end THEN :end - c.startDate
            ELSE 0
            END) 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;exception:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[Syntax Error] line 0, col 124: Error: Expected Doctrine\ORM\Query\Lexer::T_ELSE, got &apos;-&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It seems that it&apos;s failing inside the second THEN&lt;/p&gt;

&lt;p&gt;This one also seems to fail:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sql&quot;&gt;
SUM(CASE
            WHEN c.startDate &amp;lt;= :start THEN (c.endDate - :start)
            WHEN c.endDate &amp;gt;= :end THEN (:end - c.startDate)
            ELSE 0
            END) 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;exception:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[Syntax Error] line 0, col 60: Error: Unexpected &apos;(&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Another one:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-sql&quot;&gt;
SUM(CASE
                WHEN c.startDate &amp;lt;= :start THEN c.endDate - :start
                WHEN c.endDate &amp;gt;= :end THEN :end - c.startDate
                ELSE 0
                END) = :result &lt;span class=&quot;code-keyword&quot;&gt;FROM&lt;/span&gt; ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;exception:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[Syntax Error] line 0, col 60: Error: Expected Doctrine\ORM\Query\Lexer::T_FROM, got &apos;=&apos; 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="14325">DDC-2208</key>
            <summary>CASE WHEN ... WHEN doesn&apos;t work</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10000">All</security>
                        <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="mvrhov">Miha Vrhovnik</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Dec 2012 23:44:17 +0000</created>
                <updated>Wed, 22 May 2013 06:35:37 +0000</updated>
                    <resolved>Wed, 22 May 2013 04:21:42 +0000</resolved>
                            <version>2.3.1</version>
                                <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="19160" author="mvrhov" created="Thu, 20 Dec 2012 17:19:55 +0000"  >&lt;p&gt;I&apos;ve added two more cases where the parsing fails. Do you want a separate tickets for that?&lt;/p&gt;</comment>
                    <comment id="19161" author="fabio.bat.silva" created="Thu, 20 Dec 2012 17:51:25 +0000"  >&lt;p&gt;Don&apos;t worry, I&apos;ll spend some time over this...&lt;br/&gt;
But I&apos;m not sure about the last one. &lt;/p&gt;</comment>
                    <comment id="19162" author="mvrhov" created="Thu, 20 Dec 2012 18:09:40 +0000"  >&lt;p&gt;The 3rd case seems work just fine as a part of a HAVING clause.&lt;br/&gt;
I haven&apos;t tried it but It might be that it fails with something simpler like SELECT COUNT( * ) = :foo FROM ... or SELECT COUNT( * ) = 2 FROM ...&lt;/p&gt;</comment>
                    <comment id="19259" author="mvrhov" created="Tue, 8 Jan 2013 20:04:28 +0000"  >&lt;p&gt;Fabio I have two more...&lt;br/&gt;
It doesn&apos;t like NULL and subselect after then part&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; 
-&amp;gt;addSelect(&apos;CASE
    WHEN po.quantity IS NULL THEN NULL
    ELSE po.quantity -
            COALESCE(0, (
                SELECT COUNT(rd.product) FROM xxxx rd
                    WHERE (rd.startDate &amp;lt;= :end) AND (rd.endDate &amp;gt;= :start) AND
                        rd.product = c.product)))
    END
    AS po.quantity
&apos;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;:edit replaced with real query &lt;/p&gt;</comment>
                    <comment id="19260" author="mvrhov" created="Tue, 8 Jan 2013 20:13:42 +0000"  >&lt;p&gt;addon: well the subquery part can be full query with joins ....&lt;/p&gt;</comment>
                    <comment id="20417" author="guilhermeblanco" created="Wed, 22 May 2013 04:21:42 +0000"  >&lt;p&gt;After further investigation, JPA 2.0 and 2.1 do not support NULL as part of ScalarExpression.&lt;br/&gt;
There are many underlying problems by adding this straight to ScalarExpression, such as the example I showed.&lt;br/&gt;
I don&apos;t think supporting this will bring benefits, but too many headaches.&lt;br/&gt;
As a workaround, create your own function that generates &quot;NULL&quot; as SQL. It would work perfectly here.&lt;br/&gt;
Closing the PR as we will not support it.&lt;/p&gt;</comment>
                    <comment id="20419" author="mvrhov" created="Wed, 22 May 2013 06:35:37 +0000"  >&lt;p&gt;Not to sound rude but, the answer is far fetched. So what if JPA is not supporting it. Yes I understand that the Doctrine is modeled after JPA but this shouldn&apos;t mean that it&apos;s not better in some regards.&lt;/p&gt;

&lt;p&gt;This is really a low blow especially if there is a need to use a query builder to build the queries. And as I said it&apos;s not only the IS NULL but the CASE statement can contain a whole subquery with it&apos;s own CASE statements etc...&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2205] Negative Values in Case Then expressions</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2205</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;DQL Expression: &lt;/p&gt;

&lt;p&gt;SELECT (CASE WHEN t.id = 1 THEN -1 ELSE t.id END) FROM Table t&lt;/p&gt;

&lt;p&gt;Gives an error:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Syntax Error&amp;#93;&lt;/span&gt; line 0, col 32: Error: Unexpected &apos;-&apos;&lt;/p&gt;

&lt;p&gt;It doesn&apos;t seem to like the negative number.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14320">DDC-2205</key>
            <summary>Negative Values in Case Then expressions</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="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="ibiryukov">Ilya Biryukov</reporter>
                        <labels>
                        <label>dql</label>
                    </labels>
                <created>Tue, 18 Dec 2012 00:18:52 +0000</created>
                <updated>Fri, 21 Dec 2012 12:03:45 +0000</updated>
                    <resolved>Fri, 21 Dec 2012 12:03:45 +0000</resolved>
                            <version>2.3.1</version>
                                <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19166" author="fabio.bat.silva" created="Fri, 21 Dec 2012 12:03:45 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/8b5e4a9a52670992b85e7223d255b98cf77a35a3&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/8b5e4a9a52670992b85e7223d255b98cf77a35a3&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2202] [GH-538] IDENTITY() Support composite primary key</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2202</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/538&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/538&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This patch add support for composite primary key to identity function&lt;/p&gt;</description>
                <environment></environment>
            <key id="14315">DDC-2202</key>
            <summary>[GH-538] IDENTITY() Support composite primary key</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 16 Dec 2012 23:03:28 +0000</created>
                <updated>Mon, 24 Dec 2012 09:19:29 +0000</updated>
                    <resolved>Mon, 24 Dec 2012 09:19:29 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19177" author="beberlei" created="Mon, 24 Dec 2012 09:19:10 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-538&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/538&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/538&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2201] [GH-537] fixed problems with joined inheritance and composite keys</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2201</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Powerhamster:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/537&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/537&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;SchemaTool now creates all Id columns not just only the first one.&lt;br/&gt;
Insert statement for child entity now contains parameter for additional key columns only once.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14314">DDC-2201</key>
            <summary>[GH-537] fixed problems with joined inheritance and composite keys</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 16 Dec 2012 17:23:33 +0000</created>
                <updated>Sat, 4 May 2013 12:59:14 +0000</updated>
                    <resolved>Sat, 4 May 2013 12:59:14 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20213" author="doctrinebot" created="Sat, 4 May 2013 12:59:08 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-537&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/537&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/537&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2188] DQL arithmetic priority is not considered in expression &apos;a/(b*c)&apos;</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2188</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;A DQL query that contains an arithmetic expression like &apos;a/(b*c)&apos; will be compiled to &apos;a/b*c&apos; in SQL and therefore the result of &apos;100/(2*2)&apos; will be 100, instead of 25.&lt;/p&gt;

&lt;p&gt;Note: I have tested it by mysql only&lt;/p&gt;</description>
                <environment></environment>
            <key id="14295">DDC-2188</key>
            <summary>DQL arithmetic priority is not considered in expression &apos;a/(b*c)&apos;</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="mdehghani">Mahdi Dehghani</reporter>
                        <labels>
                        <label>Cli</label>
                        <label>mysql</label>
                    </labels>
                <created>Wed, 5 Dec 2012 22:48:22 +0000</created>
                <updated>Sat, 6 Apr 2013 14:57:57 +0000</updated>
                    <resolved>Sat, 6 Apr 2013 14:57:57 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19866" author="ocramius" created="Sat, 16 Mar 2013 19:06:16 +0000"  >&lt;p&gt;Being handled in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2355&quot; title=&quot;[GH-618] [DDC-2188] Fix arithmetic priority&quot;&gt;&lt;del&gt;DDC-2355&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2187] [GH-531] use base events</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2187</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of docteurklein:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/531&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/531&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;in consequence of  &lt;a href=&quot;https://github.com/doctrine/common/pull/222&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/222&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14294">DDC-2187</key>
            <summary>[GH-531] use base events</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2012 13:28:29 +0000</created>
                <updated>Mon, 24 Dec 2012 09:17:08 +0000</updated>
                    <resolved>Mon, 24 Dec 2012 09:16:58 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2186] PreFlushEventArgs not passed by ClassMetadataInfo::invokeLifecycleCallbacks()</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2186</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;As described in the documentation (&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#preflush&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#preflush&lt;/a&gt;) my pre-flush lifecycle callback is not receiving an instance of Doctrine\ORM\Event\PreFlushEventArgs when called in Doctrine\ORM\Mapping\ClassMetadataInfo::invokeLifecycleCallbacks().&lt;/p&gt;</description>
                <environment></environment>
            <key id="14293">DDC-2186</key>
            <summary>PreFlushEventArgs not passed by ClassMetadataInfo::invokeLifecycleCallbacks()</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                                <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="kherge">Kevin Herrera</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2012 00:26:15 +0000</created>
                <updated>Sat, 2 Feb 2013 20:02:29 +0000</updated>
                    <resolved>Sat, 2 Feb 2013 20:02:29 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19107" author="fabio.bat.silva" created="Wed, 5 Dec 2012 17:55:46 +0000"  >&lt;p&gt;Hi Kevin, &lt;br/&gt;
The current lifecycle event system does not allow access to the event args. : &lt;br/&gt;
&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#lifecycle-callbacks&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#lifecycle-callbacks&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Now it is possible just by using the EventManager :&lt;br/&gt;
&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#listening-to-lifecycle-events&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#listening-to-lifecycle-events&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just after &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1955&quot; title=&quot;Support for @EntityListeners&quot;&gt;&lt;del&gt;DDC-1955&lt;/del&gt;&lt;/a&gt; : (&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/423&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/423&lt;/a&gt;) be merged it will be possible.&lt;/p&gt;


&lt;p&gt;Cheers&lt;/p&gt;</comment>
                    <comment id="19129" author="fabio.bat.silva" created="Thu, 13 Dec 2012 11:01:41 +0000"  >&lt;p&gt;Change issue type, since it&apos;s not a bug.&lt;/p&gt;</comment>
                    <comment id="19458" author="fabio.bat.silva" created="Sat, 2 Feb 2013 20:02:29 +0000"  >&lt;p&gt;fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2181] [GH-528] Documentation fixes</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2181</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of BenMorel:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/528&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/528&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This is a first batch of documentation fixes:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Missing docblocks&lt;/li&gt;
	&lt;li&gt;Missing / incorrect `@param` / `@return` / `@throws` annotations&lt;/li&gt;
	&lt;li&gt;Missing newlines between annotations&lt;/li&gt;
	&lt;li&gt;Incorrect vertical alignment of `@param` annotations&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;m willing to make more documentation fixes on this project, but I&apos;ll wait for your feedback on this first batch before moving forward!&lt;/p&gt;

&lt;p&gt;Let me know if you have any comment / suggestion / question.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14287">DDC-2181</key>
            <summary>[GH-528] Documentation fixes</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 1 Dec 2012 16:39:17 +0000</created>
                <updated>Sun, 23 Dec 2012 20:22:36 +0000</updated>
                    <resolved>Sun, 23 Dec 2012 20:22:36 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2174] [GH-526] [DDC-2172] Fix EntityGenerator get literal type</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2174</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/526&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/526&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2172&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2172&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14277">DDC-2174</key>
            <summary>[GH-526] [DDC-2172] Fix EntityGenerator get literal type</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Nov 2012 17:46:44 +0000</created>
                <updated>Tue, 27 Nov 2012 23:04:06 +0000</updated>
                    <resolved>Tue, 27 Nov 2012 20:40:37 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                <fixVersion>2.3.1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19069" author="beberlei" created="Tue, 27 Nov 2012 20:14:43 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-526&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/526&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/526&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19070" author="fabio.bat.silva" created="Tue, 27 Nov 2012 20:40:37 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/29f0b678cfb991e90af3eed023fb8c62ec8f7acf&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/29f0b678cfb991e90af3eed023fb8c62ec8f7acf&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2173] [GH-525] Ensure onFlush and postFlush events are always called Edit </title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2173</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of frosas:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/525&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/525&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;See #398 (has been closed as it wasn&apos;t against the master branch)&lt;/p&gt;</description>
                <environment></environment>
            <key id="14276">DDC-2173</key>
            <summary>[GH-525] Ensure onFlush and postFlush events are always called Edit </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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Nov 2012 15:33:57 +0000</created>
                <updated>Sun, 6 Jan 2013 18:16:17 +0000</updated>
                    <resolved>Sun, 6 Jan 2013 18:16:17 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2172] GENERATOR_TYPE_UUID missing in EntityGenerator.php</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2172</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Hey guys!&lt;/p&gt;

&lt;p&gt;In my model I used UUID as the generator strategy for my id:&lt;br/&gt;
@GeneratedValue(strategy=&quot;UUID&quot;)&lt;br/&gt;
It works for creating my UUID but when I add some changes to my model and run&lt;br/&gt;
orm:generate-entities --generate-annotations=&quot;true&quot; models/&lt;br/&gt;
it throws the following exception:&lt;br/&gt;
&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;InvalidArgumentException&amp;#93;&lt;/span&gt;           &lt;br/&gt;
  Invalid provided IdGeneratorType: 6 &quot;&lt;/p&gt;

&lt;p&gt;Looking at the EntityGenerator.php I saw that the UUID type is not (yet?) in there. When I add it to the function getIdGeneratorTypeString() everything works fine...&lt;br/&gt;
I&apos;m new to Doctrine so I&apos;m not sure if this is actually a bug, but it seems weird to me &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/wink.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</description>
                <environment>Codeigniter 2</environment>
            <key id="14275">DDC-2172</key>
            <summary>GENERATOR_TYPE_UUID missing in EntityGenerator.php</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="paro22">Paul R</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Nov 2012 01:08:41 +0000</created>
                <updated>Tue, 27 Nov 2012 23:04:23 +0000</updated>
                    <resolved>Tue, 27 Nov 2012 20:41:14 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                <fixVersion>2.3.1</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19071" author="fabio.bat.silva" created="Tue, 27 Nov 2012 20:41:14 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/29f0b678cfb991e90af3eed023fb8c62ec8f7acf&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/29f0b678cfb991e90af3eed023fb8c62ec8f7acf&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2169] [GH-524] EntityManagerDecorator base class as an extension point for EntityManager</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2169</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of lstrojny:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/524&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/524&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;As discussed on IRC. Open issues to be discussed:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Should we better extend ObjectManagerDecorator (see &lt;a href=&quot;https://github.com/doctrine/common/pull/229&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/229&lt;/a&gt;) and introduce an EntityManagerInterface?&lt;/li&gt;
	&lt;li&gt;Should the abstract decorator have a constructor?&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="14272">DDC-2169</key>
            <summary>[GH-524] EntityManagerDecorator base class as an extension point for EntityManager</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Nov 2012 00:06:27 +0000</created>
                <updated>Sat, 4 May 2013 13:02:50 +0000</updated>
                    <resolved>Sat, 4 May 2013 13:02:50 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20214" author="doctrinebot" created="Sat, 4 May 2013 13:02:43 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-524&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/524&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/524&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2153] [GH-517] Fix for DDC-1765</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2153</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of nemekzg:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/517&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/517&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14240">DDC-2153</key>
            <summary>[GH-517] Fix for DDC-1765</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 17 Nov 2012 15:20:55 +0000</created>
                <updated>Sun, 25 Nov 2012 11:38:50 +0000</updated>
                    <resolved>Sun, 25 Nov 2012 11:38:49 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19047" author="beberlei" created="Sun, 25 Nov 2012 11:38:50 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-517&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/517&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/517&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2151] [GH-515] Fixes sandbox cli: The helper &quot;em&quot; is not defined.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2151</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of tranver:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/515&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/515&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;In afd8ea9 $helpers became an instance of HelperSet and caused an &quot;The helper &quot;em&quot; is not defined.&quot; exception.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14237">DDC-2151</key>
            <summary>[GH-515] Fixes sandbox cli: The helper &quot;em&quot; is not defined.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Nov 2012 23:15:42 +0000</created>
                <updated>Sun, 25 Nov 2012 11:38:18 +0000</updated>
                    <resolved>Sun, 25 Nov 2012 11:38:14 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19046" author="beberlei" created="Sun, 25 Nov 2012 11:38:18 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-515&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/515&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/515&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2142] [GH-513] Enumeration support</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2142</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/513&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/513&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This patch adds support for ``@Enum``. &lt;a href=&quot;https://github.com/doctrine/common/pull/167&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/167&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please let me know if there is another annotations where we can use ``@Enum``.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14220">DDC-2142</key>
            <summary>[GH-513] Enumeration support</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Nov 2012 16:30:15 +0000</created>
                <updated>Wed, 21 Nov 2012 20:57:37 +0000</updated>
                    <resolved>Wed, 21 Nov 2012 20:57:37 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18992" author="beberlei" created="Thu, 15 Nov 2012 18:52:20 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-513&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/513&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/513&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19020" author="fabio.bat.silva" created="Wed, 21 Nov 2012 20:57:37 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/common/commit/30b8cea3bfe22f5eb58b5b0165f21df750aeb2e2&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/commit/30b8cea3bfe22f5eb58b5b0165f21df750aeb2e2&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2138] Foreign Keys in STI are wrong when same field is reused in different classes.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2138</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description></description>
                <environment></environment>
            <key id="14215">DDC-2138</key>
            <summary>Foreign Keys in STI are wrong when same field is reused in different classes.</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Nov 2012 12:39:59 +0000</created>
                <updated>Mon, 12 Nov 2012 14:01:48 +0000</updated>
                    <resolved>Mon, 12 Nov 2012 14:01:48 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18967" author="beberlei" created="Mon, 12 Nov 2012 12:40:12 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/440&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/440&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2137] [GH-510] CS on QueryBuilder</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2137</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of ruian:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/510&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/510&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14214">DDC-2137</key>
            <summary>[GH-510] CS on QueryBuilder</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Nov 2012 09:24:54 +0000</created>
                <updated>Mon, 12 Nov 2012 10:53:39 +0000</updated>
                    <resolved>Mon, 12 Nov 2012 10:53:07 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18966" author="beberlei" created="Mon, 12 Nov 2012 10:53:39 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-510&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/510&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/510&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2136] convert-mapping can&apos;t create YML from Annotation when Id column is a OneToOne relationship</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2136</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I have two entities&lt;/p&gt;

&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@ORM\Entity&lt;br/&gt;
 */&lt;br/&gt;
class User 
{
    /**
     * @ORM\Id
     * @ORM\GeneratedValue(strategy=&quot;AUTO&quot;)
     * @ORM\Column(type=&quot;integer&quot;)
     */
    private $id
}&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@ORM\Entity&lt;br/&gt;
 */&lt;br/&gt;
class UserData 
{
    /**
     * @ORM\Id
     * @ORM\OneToOne(targetEntity=&quot;User&quot;)
     */
    private $id
}&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;When I convert these with symfony&apos;s&lt;/p&gt;

&lt;p&gt;doctrine:mapping:convert yml test/&lt;/p&gt;

&lt;p&gt;it generates an entity definition for UserData without any id fields, which, of course, cannot be imported to the database, as the new entity doesn&apos;t have an identifier column.&lt;/p&gt;</description>
                <environment>Symfony 2.1.3</environment>
            <key id="14212">DDC-2136</key>
            <summary>convert-mapping can&apos;t create YML from Annotation when Id column is a OneToOne relationship</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="gergelypolonkai">Gergely Polonkai</reporter>
                        <labels>
                        <label>yaml</label>
                    </labels>
                <created>Sun, 11 Nov 2012 19:42:20 +0000</created>
                <updated>Wed, 1 May 2013 21:10:30 +0000</updated>
                    <resolved>Wed, 1 May 2013 21:10:30 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20183" author="beberlei" created="Wed, 1 May 2013 21:10:30 +0000"  >&lt;p&gt;Fixed in 2.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2132] [GH-509] SchemaTool ignoring &apos;fixed&apos; option</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2132</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of smottt:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/509&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/509&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;If the column is set to fixed string length like this:&lt;/p&gt;

&lt;p&gt;```php&lt;br/&gt;
&amp;lt;?php&lt;/p&gt;

&lt;p&gt;/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@ORM\Column(type=&quot;string&quot;, length=2, options=
{&quot;fixed&quot; = true}
&lt;p&gt;)&lt;br/&gt;
 */&lt;br/&gt;
protected $foo;&lt;br/&gt;
```&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The schema tool will not detect that &apos;fixed&apos; option correctly when generating update SQL.&lt;/p&gt;

&lt;p&gt;Fix attached.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14204">DDC-2132</key>
            <summary>[GH-509] SchemaTool ignoring &apos;fixed&apos; option</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Nov 2012 15:35:56 +0000</created>
                <updated>Mon, 12 Nov 2012 14:18:06 +0000</updated>
                    <resolved>Mon, 12 Nov 2012 14:18:06 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18956" author="beberlei" created="Wed, 7 Nov 2012 21:59:02 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-509&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/509&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/509&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2106] Notice trying to match a Criteria referencing a managed entity not yet persisted</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2106</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Undefined index: (...) in Doctrine/ORM/UnitOfWork.php line 2735

#0 doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(2735): Symfony\Component\HttpKernel\Debug\ErrorHandler-&amp;gt;handle(8, &apos;Undefined index...&apos;, &apos;/Users/frosas/S...&apos;, 2735, Array) 
#1 doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(1696): Doctrine\ORM\UnitOfWork-&amp;gt;getEntityIdentifier(Object(MyEntity)) 
#2 doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(1683): Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;getIndividualValue(Object(MyEntity)) 
#3 doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(818): Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;getValue(Object(MyEntity)) 
#4 doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(786): Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;expandCriteriaParameters(Object(Doctrine\Common\Collections\Criteria)) 
#5 doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php(835): Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;loadCriteria(Object(Doctrine\Common\Collections\Criteria)) 
#6 (...): Doctrine\ORM\PersistentCollection-&amp;gt;matching(Object(Doctrine\Common\Collections\Criteria)) 
#7 (...)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As a workaround I had to control this case explicitly:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;if ($myEntity-&amp;gt;getId() === null) return null;
$criteria = Criteria::create()-&amp;gt;where(Criteria::expr()-&amp;gt;eq(&apos;field&apos;, $myEntity));
return $this-&amp;gt;collection-&amp;gt;matching($criteria)-&amp;gt;first();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="14173">DDC-2106</key>
            <summary>Notice trying to match a Criteria referencing a managed entity not yet persisted</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="frosas">Francesc Ros&#224;s</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Oct 2012 14:56:59 +0000</created>
                <updated>Wed, 1 May 2013 16:47:52 +0000</updated>
                    <resolved>Wed, 1 May 2013 16:47:52 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19507" author="asm89" created="Sat, 9 Feb 2013 22:39:37 +0000"  >&lt;p&gt;Can you provide us with the mapping of your entities? The code shouldn&apos;t get to the point where it asks for the identifier of the object while the object isn&apos;t persisted yet.&lt;/p&gt;</comment>
                    <comment id="19521" author="frosas" created="Sun, 10 Feb 2013 11:58:46 +0000"  >&lt;p&gt;I&apos;m not sure mapping can help to solve this and is quite a work for me to get it without the client details. Anyway I&apos;ll try to reproduce it in a custom scenario if you require it.&lt;/p&gt;

&lt;p&gt;I&apos;ve been doing some debugging and I got this:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;It still fails with last 2.3.*@stable&lt;/li&gt;
	&lt;li&gt;Entity is persisted before matching(). At UnitOfWork::persistNew(), $this-&amp;gt;entityStates&lt;span class=&quot;error&quot;&gt;&amp;#91;$oid&amp;#93;&lt;/span&gt; is set to self::STATE_MANAGED but $this-&amp;gt;entityIdentifiers is untouched ($idGen-&amp;gt;isPostInsertGenerator() is true)&lt;/li&gt;
	&lt;li&gt;When BasicEntityProvider::getIndividualValue() is called, $value state is STATE_MANAGED but $uow-&amp;gt;getEntityIdentifier() fails because $uow-&amp;gt;entityIdentifiers&lt;span class=&quot;error&quot;&gt;&amp;#91;$oid&amp;#93;&lt;/span&gt; was never set.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Hope it helps.&lt;/p&gt;</comment>
                    <comment id="19522" author="asm89" created="Sun, 10 Feb 2013 12:36:03 +0000"  >&lt;p&gt;If you can create a testcase and send a PR with it that would be very helpful. You can create it and put in in the appropriate class here:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/tree/master/tests/Doctrine/Tests/ORM/Functional/Ticket&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/tree/master/tests/Doctrine/Tests/ORM/Functional/Ticket&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19547" author="frosas" created="Sat, 16 Feb 2013 01:52:01 +0000"  >&lt;p&gt;Here you have: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/582&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/582&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20161" author="beberlei" created="Wed, 1 May 2013 16:47:52 +0000"  >&lt;p&gt;Fixed in 2.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2091] [GH-486] Fix DDC-2084</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2091</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/486&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/486&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-2084&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-2084&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="14148">DDC-2091</key>
            <summary>[GH-486] Fix DDC-2084</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 20 Oct 2012 02:28:40 +0000</created>
                <updated>Wed, 21 Nov 2012 20:59:39 +0000</updated>
                    <resolved>Wed, 21 Nov 2012 20:59:39 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19021" author="fabio.bat.silva" created="Wed, 21 Nov 2012 20:59:39 +0000"  >&lt;p&gt;Merged :  &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/d6d5c341e220ff7aec50c8ecabd5d0b8be2e0804&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/d6d5c341e220ff7aec50c8ecabd5d0b8be2e0804&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2090] MultiTableUpdateExecutor works incorrect with query cache enabled</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2090</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Doctrine\ORM\Query\Exec\MultiTableUpdateExecutor works incorrect with query cache enabled.&lt;br/&gt;
I execute two similar update-queries with different parameters, but the second query is never executed in database.&lt;/p&gt;

&lt;p&gt;There is todo-task in code:&lt;/p&gt;

&lt;p&gt;//FIXME (URGENT): With query cache the parameter is out of date. Move to execute() stage.&lt;/p&gt;

&lt;p&gt;This is important issue. Much time spent in debugging.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14147">DDC-2090</key>
            <summary>MultiTableUpdateExecutor works incorrect with query cache enabled</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="feedbee">Valera Leontyev</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Oct 2012 13:39:45 +0000</created>
                <updated>Sun, 17 Mar 2013 20:50:48 +0000</updated>
                    <resolved>Sun, 17 Mar 2013 20:40:44 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.4</fixVersion>
                <fixVersion>2.3.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18852" author="feedbee" created="Fri, 19 Oct 2012 13:40:49 +0000"  >&lt;p&gt;Workaround is to disable query cache per every multitable update query: &lt;a href=&quot;http://stackoverflow.com/questions/12969460/doctrine-query-cache-update&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/12969460/doctrine-query-cache-update&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19870" author="fabio.bat.silva" created="Sun, 17 Mar 2013 20:40:44 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/60b8bc63a1a4819cf112cfbbc7cca06b5792aba6&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/60b8bc63a1a4819cf112cfbbc7cca06b5792aba6&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19871" author="beberlei" created="Sun, 17 Mar 2013 20:50:48 +0000"  >&lt;p&gt;Merged into 2.3 for release with 2.3.3&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2083] [GH-482] user can set its own commands in the cli-config.php file</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2083</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Halleck45:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/482&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/482&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Today we need to edit source to add custom commands. With this minor change, we can add custom commands directly in the cli-config.php file :&lt;/p&gt;

&lt;p&gt;````&lt;br/&gt;
require_once &quot;app/bootstrap.php&quot;;&lt;br/&gt;
$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(&lt;br/&gt;
            &apos;em&apos; =&amp;gt; new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($entityManager)&lt;br/&gt;
        ));&lt;/p&gt;

&lt;p&gt;// example here&lt;br/&gt;
$commands = array(&lt;br/&gt;
    new Doctrine\ORM\Tools\Console\Command\LoadDataCommand&lt;br/&gt;
);&lt;br/&gt;
````&lt;/p&gt;</description>
                <environment></environment>
            <key id="14133">DDC-2083</key>
            <summary>[GH-482] user can set its own commands in the cli-config.php file</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Oct 2012 15:08:25 +0000</created>
                <updated>Mon, 12 Nov 2012 11:13:51 +0000</updated>
                    <resolved>Mon, 12 Nov 2012 11:13:51 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2062] [GH-466] Use `protected` so EntityGenerator can be extended</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2062</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of ethanresnick:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/466&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/466&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;This is definitely something I&apos;d like to be able to extend, and I imagine others might too.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14108">DDC-2062</key>
            <summary>[GH-466] Use `protected` so EntityGenerator can be extended</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Oct 2012 11:01:47 +0000</created>
                <updated>Mon, 12 Nov 2012 12:06:36 +0000</updated>
                    <resolved>Mon, 12 Nov 2012 12:06:36 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2056] [GH-462] [DDC-2055] Generate SELECT clause from ResultSetMappingBuilder</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2056</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of beberlei:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/462&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/462&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;Add support to generate entity result parts of the SELECT clause from a ResultSetMappingBuilder instance. Add support for column incrementing.&lt;/p&gt;

&lt;p&gt;Sample:&lt;/p&gt;

&lt;p&gt;    public function testGenerateSelectClauseIncrement()&lt;/p&gt;
    {
        $rsm = new ResultSetMappingBuilder($this-&amp;gt;_em);
        $rsm-&amp;gt;addRootEntityFromClassMetadata(&apos;Doctrine\Tests\Models\CMS\CmsUser&apos;, &apos;u&apos;, ResultSetMappingBuilder::COLUMN_RENAMING_INCREMENT);

        $selectClause = $rsm-&amp;gt;generateSelectClause();

        $this-&amp;gt;assertEquals(&apos;u.id AS id0, u.status AS status1, u.username AS username2, u.name AS name3, u.email_id AS email_id4&apos;, $selectClause);
    }

&lt;p&gt;Restrictions:&lt;/p&gt;

&lt;p&gt;This only generates the entity result clauses, not the ones for scalar results! Because we don&apos;t know what the scalar result actually means.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14091">DDC-2056</key>
            <summary>[GH-462] [DDC-2055] Generate SELECT clause from ResultSetMappingBuilder</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2012 10:37:26 +0000</created>
                <updated>Fri, 5 Oct 2012 16:48:11 +0000</updated>
                    <resolved>Fri, 5 Oct 2012 16:48:10 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18777" author="beberlei" created="Fri, 5 Oct 2012 16:46:42 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-462&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/462&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/462&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2055] Helper to generate SQL SELECT clause for Native Query</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2055</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description></description>
                <environment></environment>
            <key id="14090">DDC-2055</key>
            <summary>Helper to generate SQL SELECT clause for Native Query</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2012 08:20:03 +0000</created>
                <updated>Fri, 5 Oct 2012 16:48:28 +0000</updated>
                    <resolved>Fri, 5 Oct 2012 16:48:28 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2054] [GH-461] [SchemaValidator] Fix typo</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2054</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of franmomu:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/461&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/461&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14089">DDC-2054</key>
            <summary>[GH-461] [SchemaValidator] Fix typo</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Oct 2012 07:52:30 +0000</created>
                <updated>Wed, 3 Oct 2012 08:47:03 +0000</updated>
                    <resolved>Wed, 3 Oct 2012 08:47:03 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18763" author="beberlei" created="Wed, 3 Oct 2012 08:46:49 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-461&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/461&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/461&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2051] after filtering an association by using -&gt;matching(Criteria) original association changes</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2051</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;after filtering an association with a criteria it changes so it&apos;s not a normal collection and you can&apos;t re-filter it.&lt;/p&gt;

&lt;p&gt;even after hydrating it you can&apos;t filter it.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14084">DDC-2051</key>
            <summary>after filtering an association by using -&gt;matching(Criteria) original association changes</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="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="iamkoby">Koby Soto</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2012 10:19:04 +0000</created>
                <updated>Mon, 15 Oct 2012 16:10:57 +0000</updated>
                    <resolved>Mon, 15 Oct 2012 16:10:57 +0000</resolved>
                            <version>2.3</version>
                                <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18751" author="iamkoby" created="Tue, 2 Oct 2012 10:27:41 +0000"  >&lt;p&gt;The filtering only works once and only if the database hasn&apos;t been queried! &lt;/p&gt;

&lt;p&gt;This is a major bug because i would like to filter big collections more than once per request.&lt;/p&gt;</comment>
                    <comment id="18793" author="beberlei" created="Sat, 6 Oct 2012 09:30:32 +0000"  >&lt;p&gt;Can you add a code example? I don&apos;t understand what you mean.&lt;/p&gt;</comment>
                    <comment id="18801" author="iamkoby" created="Sun, 7 Oct 2012 08:34:24 +0000"  >&lt;p&gt;sure: here&apos;s just an example (written right now to demonstrate, not taken from real project, so no criticize pls):&lt;/p&gt;

&lt;p&gt;Let&apos;s say we have two functions:&lt;/p&gt;

&lt;p&gt;1. function getExpensiveBooks($limit)&lt;/p&gt;
{
    $books = $this-&amp;gt;getBooks(); //proxy, haven&apos;t queried yet.
    $criteria = Criteria::create()-&amp;gt;where(Criteria::expr()-&amp;gt;gt(&apos;price&apos;, &apos;10&apos;))-&amp;gt;setMaxResults($limit);
    return $books-&amp;gt;matching($criteria);
   }

&lt;p&gt;2. function getCheapBooks($limit)&lt;/p&gt;
{
    $books = $this-&amp;gt;getBooks(); //proxy, haven&apos;t queried yet.
    $criteria = Criteria::create()-&amp;gt;where(Criteria::expr()-&amp;gt;lt(&apos;price&apos;, &apos;4&apos;))-&amp;gt;setMaxResults($limit);
    return $books-&amp;gt;matching($criteria);
   }

&lt;p&gt;now, let&apos;s say that in the controller i&apos;ve called:&lt;br/&gt;
$expensiveBooks = $author-&amp;gt;getExpensiveBooks(3); //will work fine, and the query will be according the criteria.&lt;br/&gt;
//but going on and doing this:&lt;br/&gt;
$cheapBooks = $author-&amp;gt;getCheapBooks(3); //will not work: matching is undefined function.&lt;/p&gt;

&lt;p&gt;It appears that doing matching only works on the first time on a certain association. &lt;/p&gt;</comment>
                    <comment id="18839" author="iamkoby" created="Mon, 15 Oct 2012 16:10:57 +0000"  >&lt;p&gt;this was due to inconsistent association type in both owner and target (target had one-to-one while owner had one-to-many)&lt;/p&gt;

&lt;p&gt;sorry&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2049] [GH-458] Use cascade=all if all cascade options set</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2049</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of barelon:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/458&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/458&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;The YAML and XML metadata exporters output cascade=all if all five cascade options are set. The php and annotation exporter do not, they output cascade=list of all 5 cascades instead. &lt;/p&gt;

&lt;p&gt;In order that all 4 exporters offer the same behavior, I updated the php and annotations exporters  so that they export cascade=all&lt;/p&gt;</description>
                <environment></environment>
            <key id="14081">DDC-2049</key>
            <summary>[GH-458] Use cascade=all if all cascade options set</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Sep 2012 22:21:46 +0000</created>
                <updated>Fri, 5 Oct 2012 16:52:10 +0000</updated>
                    <resolved>Fri, 5 Oct 2012 16:52:10 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18776" author="beberlei" created="Fri, 5 Oct 2012 16:45:53 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-458&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/458&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/458&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2047] [GH-456] Optimize autoload prefix in composer.json</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2047</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Slamdunk:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/456&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/456&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;By having more specific autoload prefixes it is possible to reduce the number of stat calls made.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14077">DDC-2047</key>
            <summary>[GH-456] Optimize autoload prefix in composer.json</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Sep 2012 06:59:07 +0000</created>
                <updated>Fri, 5 Oct 2012 17:11:13 +0000</updated>
                    <resolved>Fri, 5 Oct 2012 17:11:13 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18778" author="beberlei" created="Fri, 5 Oct 2012 17:05:21 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-456&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/456&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/456&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2044] [GH-455] Fixed unique-constraint name in XML Exporter</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2044</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of radmar:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/455&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/455&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="14070">DDC-2044</key>
            <summary>[GH-455] Fixed unique-constraint name in XML Exporter</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Sep 2012 12:29:37 +0000</created>
                <updated>Fri, 5 Oct 2012 18:24:16 +0000</updated>
                    <resolved>Fri, 5 Oct 2012 18:24:16 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                <fixVersion>2.3.1</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18780" author="beberlei" created="Fri, 5 Oct 2012 18:24:02 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-455&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/455&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/455&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2020] [GH-440] The schema tool now doesn&apos;t add a foreign constraint when subclassess of...</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2020</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of sroddy:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/440&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/440&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;... a STI use the same field to map relations with entities of different classes&lt;/p&gt;

&lt;p&gt;It seems that there are no particular side-effects in mapping different relationship using the same table column name in different subclasses of a STI hierarchy.&lt;br/&gt;
Eg. Tag superclass of BookTag (id, object_id, comment) and MovieTag (id, object_id, comment), so having two attributes $book and $movie mapped to the same object_id field with @JoinColumn annotation&lt;/p&gt;

&lt;p&gt;I wasn&apos;t sure about this so I tested to see if there were errors. And I was surprised that everything runs without any particular problem.&lt;br/&gt;
Moreover this is a really interesting (wanted? unwanted?) feature, very useful if you have huge tables that need to be joined with other table using the discriminator and object_id columns, or if you have some kind of logging class and you need to keep the table efficient and small. The only problem is that the schema generator always inserts a foreign column constraint (probably the last specified) when generating these kind of Entities.&lt;/p&gt;

&lt;p&gt;This PR ensures that the foreign key is not added if there are at least two different classes mapped on the same field of a db table.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14023">DDC-2020</key>
            <summary>[GH-440] The schema tool now doesn&apos;t add a foreign constraint when subclassess of...</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Sep 2012 03:36:09 +0000</created>
                <updated>Wed, 1 May 2013 17:28:49 +0000</updated>
                    <resolved>Wed, 1 May 2013 17:28:49 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2019] addOrderBy function incomplete</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2019</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;In QueryBuilder.php, just change or complete addOrderBy function&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;public function addOrderBy($sort, $order = null)&lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {
    $orderBy = ($sort instanceof ExprOrderBy) ? $sort }&lt;/span&gt; &lt;/div&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
            <key id="14020">DDC-2019</key>
            <summary>addOrderBy function incomplete</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="asm89">Alexander</assignee>
                                <reporter username="jforet">J&#233;r&#244;me For&#234;t</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Sep 2012 13:38:56 +0000</created>
                <updated>Sat, 9 Feb 2013 21:43:40 +0000</updated>
                    <resolved>Sat, 9 Feb 2013 21:43:40 +0000</resolved>
                            <version>2.2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19504" author="asm89" created="Sat, 9 Feb 2013 21:43:40 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/1a163cd48dc8b691351f0a9fee3e2286fe0af984&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/1a163cd48dc8b691351f0a9fee3e2286fe0af984&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2016] DQL Parser fails in select clause</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2016</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Executing the following query inside the sandbox:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$r = $em-&amp;gt;createQuery(&apos;SELECT u, (((3))) as v FROM Entities\User u&apos;)-&amp;gt;getResult();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;results in the following exception:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
PHP Fatal error:  Uncaught exception &apos;Doctrine\ORM\Query\QueryException&apos; with message &apos;[Syntax Error] line 0, col 10: Error: Expected known function, got &apos;(&apos;&apos; in /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/QueryException.php:42
Stack trace:
#0 /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/Parser.php(380): Doctrine\ORM\Query\QueryException::syntaxError(&apos;line 0, col 10:...&apos;)
#1 /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/Parser.php(3001): Doctrine\ORM\Query\Parser-&amp;gt;syntaxError(&apos;known function&apos;, Array)
#2 /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/Parser.php(2975): Doctrine\ORM\Query\Parser-&amp;gt;CustomFunctionDeclaration()
#3 /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/Parser.php(1907): Doctrine\ORM\Query\Parser-&amp;gt;FunctionDeclaration()
#4 /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/Parser.php(1048): Doctrine\ORM\Query\Parser-&amp;gt;SelectExp in /mnt/D/Jobs/Wanderwalter/htdocs/doctrineTest/doctrine2/lib/Doctrine/ORM/Query/QueryException.php on line 42
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="14017">DDC-2016</key>
            <summary>DQL Parser fails in select clause</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="stefanklug">Stefan Klug</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Sep 2012 09:05:36 +0000</created>
                <updated>Fri, 23 Nov 2012 19:13:44 +0000</updated>
                    <resolved>Fri, 23 Nov 2012 19:13:44 +0000</resolved>
                            <version>2.2.3</version>
                                <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18616" author="stefanklug" created="Fri, 7 Sep 2012 09:09:15 +0000"  >&lt;p&gt;Solution is available at &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/438&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/438&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19041" author="fabio.bat.silva" created="Fri, 23 Nov 2012 19:13:44 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/ec1950d3cac918935e0f05c1fb79bbd592caed87&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/ec1950d3cac918935e0f05c1fb79bbd592caed87&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-2000] [GH-431] [ORM] Fix double semicolon </title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2000</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of pitiflautico:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/431&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/431&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

</description>
                <environment></environment>
            <key id="13993">DDC-2000</key>
            <summary>[GH-431] [ORM] Fix double semicolon </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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Aug 2012 10:40:49 +0000</created>
                <updated>Wed, 29 Aug 2012 12:33:22 +0000</updated>
                    <resolved>Wed, 29 Aug 2012 12:33:22 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18570" author="beberlei" created="Wed, 29 Aug 2012 12:33:18 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-431&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/431&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/431&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1998] Problem when deleting with EntityManager-&gt;remove($entity)</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1998</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The problem is when using EntityMamager-&amp;gt;remove($entity). The Sql query generated doesn&apos;t convert the values of the ids according to the field type that is used in doc block annotation. After investigating I found that in Doctrine\DBAL\Connection the function delete doesn&apos;t support to receive as param the types of the ids to be given to the executeUpdate function which is called in it and supports them. (The types need to be provided from the persisters from which the delete is called). &lt;/p&gt;

&lt;p&gt;I hope it make sense to you. I got that problem because I am using custom time stamp column type as id. And it converts the value of the field to time stamp string, which if not converted to the proper sql value is not recognised and the delete doesn&apos;t go trough.&lt;/p&gt;

&lt;p&gt;As far as I can see it is something that was missed and hope it will be fixed soon.&lt;/p&gt;

&lt;p&gt;If you have any questions please ask.&lt;br/&gt;
Also on request I can provide example code and the fix I have done for myself. &lt;/p&gt;</description>
                <environment></environment>
            <key id="13991">DDC-1998</key>
            <summary>Problem when deleting with EntityManager-&gt;remove($entity)</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="vigor_bg">victor Velkov</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Aug 2012 11:28:38 +0000</created>
                <updated>Wed, 1 May 2013 18:31:03 +0000</updated>
                    <resolved>Wed, 1 May 2013 18:31:03 +0000</resolved>
                            <version>2.2.3</version>
                                <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>5</watches>
                        <comments>
                    <comment id="18582" author="fabio.bat.silva" created="Wed, 29 Aug 2012 22:00:36 +0000"  >&lt;p&gt;Hi Victor&lt;/p&gt;

&lt;p&gt;Could you attach/paste your custom type and entity please ?&lt;/p&gt;</comment>
                    <comment id="18584" author="vigor_bg" created="Thu, 30 Aug 2012 05:47:56 +0000"  >&lt;p&gt;Ok I have attached them. The EwtTimestamp is the custom type. &lt;/p&gt;</comment>
                    <comment id="18663" author="ocramius" created="Mon, 17 Sep 2012 11:50:53 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=vigor_bg&quot; class=&quot;user-hover&quot; rel=&quot;vigor_bg&quot;&gt;victor Velkov&lt;/a&gt; do you have a failing test case for this one?&lt;/p&gt;</comment>
                    <comment id="18664" author="vigor_bg" created="Mon, 17 Sep 2012 12:14:48 +0000"  >&lt;p&gt;Nope sorry haven&apos;t done any test cases for this one&lt;/p&gt;</comment>
                    <comment id="18703" author="fabio.bat.silva" created="Sun, 23 Sep 2012 22:27:36 +0000"  >&lt;p&gt;Hi Victor,&lt;/p&gt;

&lt;p&gt;I can&apos;t reproduce, could you change the added test case and try to make it fails ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                    <comment id="18732" author="vigor_bg" created="Wed, 26 Sep 2012 05:31:22 +0000"  >&lt;p&gt;Sure will do it as soon as I can. Sorry I didn&apos;t answer sooner just was in a holiday &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="18753" author="fabio.bat.silva" created="Tue, 2 Oct 2012 12:44:03 +0000"  >&lt;p&gt;Thanks Victor&lt;/p&gt;

&lt;p&gt;Please let me know when you change the test&lt;/p&gt;</comment>
                    <comment id="18757" author="vigor_bg" created="Tue, 2 Oct 2012 14:03:24 +0000"  >&lt;p&gt;Sorry for the delay i have attached the test case (DDC1998Test1.php). &lt;/p&gt;</comment>
                    <comment id="18816" author="fabio.bat.silva" created="Wed, 10 Oct 2012 15:31:00 +0000"  >&lt;p&gt;Hi Victor,&lt;/p&gt;

&lt;p&gt;Sorry for the delay to answer&lt;/p&gt;

&lt;p&gt;I think that we can&apos;t fix it,&lt;br/&gt;
Your type requires sql conversion to work, and doctrine does not support @Id fields with sql conversion.&lt;/p&gt;</comment>
                    <comment id="18820" author="vigor_bg" created="Thu, 11 Oct 2012 05:45:22 +0000"  >&lt;p&gt;Really as far as i can see in the code you do convert them when you are executing an update. And the fix that i did for my self is to add 3rd parameter to the function delete in Doctrine\DBAL\Connection and then every where where it is called in the code which is in 2 places Doctrine\ORM\Persisters\BasicEntityPersister and Doctrine\ORM\JoinedSubclassPersister to give that parameter with the types. And as far as i can see you do that for the updates. After that in Connection delete you call the executeUpdate which supports the type and you just have to pass it along. And that is it. &lt;/p&gt;</comment>
                    <comment id="19364" author="ocramius" created="Wed, 23 Jan 2013 21:01:02 +0000"  >&lt;p&gt;Reducing priority. It is an edge case, and we already don&apos;t officially support custom object types as identifiers.&lt;/p&gt;</comment>
                    <comment id="20171" author="beberlei" created="Wed, 1 May 2013 17:52:47 +0000"  >&lt;p&gt;We should be able to support this I think, i don&apos;t see a reason it shouldnt work&lt;/p&gt;</comment>
                    <comment id="20174" author="beberlei" created="Wed, 1 May 2013 18:31:03 +0000"  >&lt;p&gt;Will be fixed in 2.4&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11325" name="DDC1998Test.php" size="3029" author="fabio.bat.silva" created="Sun, 23 Sep 2012 22:27:36 +0000" />
                    <attachment id="11336" name="DDC1998Test1.php" size="3191" author="vigor_bg" created="Tue, 2 Oct 2012 14:04:37 +0000" />
                    <attachment id="11315" name="EwtTimestamp.php" size="1991" author="vigor_bg" created="Thu, 30 Aug 2012 05:46:54 +0000" />
                    <attachment id="11316" name="ProductTemplate.php" size="844" author="vigor_bg" created="Thu, 30 Aug 2012 05:46:54 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1981] ProxyFactory does not throw exceptions that are verbose enough (hard to debug)</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1981</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Basically need to display the path of the given proxy in the error message, that makes debugging much easier&lt;/p&gt;</description>
                <environment></environment>
            <key id="13963">DDC-1981</key>
            <summary>ProxyFactory does not throw exceptions that are verbose enough (hard to debug)</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="ocramius">Marco Pivetta</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Aug 2012 22:24:58 +0000</created>
                <updated>Sat, 26 Jan 2013 23:53:37 +0000</updated>
                    <resolved>Wed, 23 Jan 2013 21:05:33 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19365" author="ocramius" created="Wed, 23 Jan 2013 21:05:33 +0000"  >&lt;p&gt;Handled in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DCOM-96&quot; title=&quot;Extract a common ProxyFactory&quot;&gt;&lt;del&gt;DCOM-96&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19411" author="beberlei" created="Fri, 25 Jan 2013 16:25:26 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-247&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/247&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/247&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="19425" author="beberlei" created="Sat, 26 Jan 2013 23:53:37 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-247&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/common/pull/247&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/common/pull/247&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1980] [GH-423] DDC-1955 - @EntityListeners</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1980</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/423&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/423&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1955&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1955&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;This path adds support for ```@EntityListeners```&lt;/p&gt;

&lt;p&gt;This path add another way to handle events&lt;br/&gt;
allow configure the same listener for many specific entities.&lt;br/&gt;
And give the EventArg in the current lifecycle callback system.&lt;/p&gt;

&lt;p&gt;Usage :&lt;/p&gt;

&lt;p&gt;```php&lt;br/&gt;
&amp;lt;?php&lt;br/&gt;
/**&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;@EntityListeners(
{&quot;ContractListener&quot;}
&lt;p&gt;)&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;@HasLifecycleCallbacks&lt;/li&gt;
	&lt;li&gt;@Entity&lt;br/&gt;
 */&lt;br/&gt;
class Contract&lt;br/&gt;
{&lt;br/&gt;
    /** @PostLoad */&lt;br/&gt;
    public function postLoadHandler(LifecycleEventArgs $event)
    {
        // do something
    }&lt;br/&gt;
}&lt;br/&gt;
class ContractListener&lt;br/&gt;
{&lt;br/&gt;
    /** @PrePersist  */&lt;br/&gt;
    public function prePersistHandler(Contract $contract)&lt;br/&gt;
    {
        // do something
    }
&lt;p&gt;    /**&lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;@PostPersist&lt;/li&gt;
	&lt;li&gt;Most of cases just the entity is needed.&lt;/li&gt;
	&lt;li&gt;as a second parameter LifecycleEventArgs allow access to the entity manager.&lt;br/&gt;
     */&lt;br/&gt;
    public function postPersistHandler(Contract $contract, LifecycleEventArgs $args)
    {
        // do something
    }
&lt;p&gt;}&lt;br/&gt;
```&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="13958">DDC-1980</key>
            <summary>[GH-423] DDC-1955 - @EntityListeners</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 12 Aug 2012 03:05:44 +0000</created>
                <updated>Wed, 27 Feb 2013 18:52:55 +0000</updated>
                    <resolved>Wed, 27 Feb 2013 18:52:55 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19770" author="fabio.bat.silva" created="Wed, 27 Feb 2013 18:52:55 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1979] [GH-422] DDC-1574 - &quot;new&quot; operator</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1979</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/422&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/422&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1574&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1574&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hi guys.&lt;/p&gt;

&lt;p&gt;This path adds support for &quot;new&quot; operator&lt;/p&gt;

&lt;p&gt;Usage :&lt;br/&gt;
```SQL&lt;br/&gt;
SELECT&lt;br/&gt;
    new CustomerDTO(c.name, e.email, a.city)&lt;br/&gt;
FROM&lt;br/&gt;
    Customer c&lt;br/&gt;
JOIN&lt;br/&gt;
    u.email e&lt;br/&gt;
JOIN&lt;br/&gt;
    u.address a&lt;br/&gt;
ORDER BY&lt;br/&gt;
    u.name&lt;br/&gt;
```&lt;/p&gt;

&lt;p&gt;Any simple class with a constructor could be used&lt;br/&gt;
but for the first version just scalar values are allowed.&lt;/p&gt;

&lt;p&gt;it&apos;s a big patch, so any sugestion are welcome.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13957">DDC-1979</key>
            <summary>[GH-422] DDC-1574 - &quot;new&quot; operator</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 12 Aug 2012 02:25:31 +0000</created>
                <updated>Wed, 27 Feb 2013 18:53:43 +0000</updated>
                    <resolved>Wed, 27 Feb 2013 18:53:43 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19771" author="fabio.bat.silva" created="Wed, 27 Feb 2013 18:53:43 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/13762f20c9f6daa0c2e4e8a113de01969c6621da&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/13762f20c9f6daa0c2e4e8a113de01969c6621da&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1956] [GH-413] code refactorings on persister</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1956</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of FabioBatSilva:&lt;/p&gt;

&lt;p&gt;  Url: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/413&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/413&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Message:&lt;/p&gt;

&lt;p&gt;hi&lt;/p&gt;

&lt;p&gt;This patch does not add any feature, just small refactorings and code clean up.&lt;br/&gt;
It make easier to implement the generation of persisters: &lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1889&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1889&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Cheers ...&lt;/p&gt;</description>
                <environment></environment>
            <key id="13894">DDC-1956</key>
            <summary>[GH-413] code refactorings on persister</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Jul 2012 16:01:06 +0000</created>
                <updated>Thu, 14 Mar 2013 01:35:06 +0000</updated>
                    <resolved>Thu, 14 Mar 2013 01:35:05 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19850" author="fabio.bat.silva" created="Thu, 14 Mar 2013 01:35:05 +0000"  >&lt;p&gt;Merged : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/05e5ae8bfa1a452d273a3a6b27b6311c287a9976&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/05e5ae8bfa1a452d273a3a6b27b6311c287a9976&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1955] Support for @EntityListeners</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1955</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Support for @EntityListeners&lt;/p&gt;

&lt;p&gt;Now subscribers are called for ALL entities, to increase the performance we should allow the configuration listeners for entities that need them.&lt;/p&gt;

&lt;p&gt;The @EntityListeners annotation specifies the callback listener classes to be used for an entity or mapped superclass. The @EntityListeners annotation may be applied to an entity class or mapped superclass.&lt;/p&gt;

&lt;p&gt;The listenner callbacks methods are annotated by the current callback annotations (@PreUpdate, @PrePersist, etc...)&lt;/p&gt;

&lt;p&gt;Example : &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
/**
 * @EntityListeners({&lt;span class=&quot;code-quote&quot;&gt;&quot;ContractSubscriber&quot;&lt;/span&gt;})
 */
class CompanyContract
{
}

class ContractSubscriber
{
    /**
     * @PrePersist
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function prePersistHandler(CompanyContract $contract)
    {
        &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; something
&lt;/span&gt;    }

    /**
     * @PostPersist
     * Most of cases just the entity is needed.
     * as a second parameter LifecycleEventArgs allow access to the entity manager.
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function postPersistHandler(CompanyContract $contract, LifecycleEventArgs $args)
    {
        &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; something
&lt;/span&gt;    }
}

$contract = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; CompanyFlexContract();
&lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; something
&lt;/span&gt;
$em-&amp;gt;persist($contract);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13893">DDC-1955</key>
            <summary>Support for @EntityListeners</summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="fabio.bat.silva">Fabio B. Silva</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Jul 2012 15:37:44 +0000</created>
                <updated>Sat, 2 Feb 2013 20:01:07 +0000</updated>
                    <resolved>Sat, 2 Feb 2013 20:01:07 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18416" author="stof" created="Mon, 30 Jul 2012 10:00:25 +0000"  >&lt;p&gt;I don&apos;t see how this could improve performances much: there is only one event manager, so all listeners would be registered in the same. This means that the event manager would then need to contain some checks to know whether the listener should be called for this entity. This means that it will add overhead for &lt;b&gt;all&lt;/b&gt; listeners instead of only in listeners needing to check the entity.&lt;/p&gt;</comment>
                    <comment id="18417" author="ocramius" created="Mon, 30 Jul 2012 10:10:54 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=stof&quot; class=&quot;user-hover&quot; rel=&quot;stof&quot;&gt;Christophe Coevoet&lt;/a&gt; I think there&apos;s a bit of overhead when calling the event listeners. Btw we could get a huge improvement if the UoW was able to group the operations by entity name. I&apos;m not sure if this already happens.&lt;/p&gt;</comment>
                    <comment id="18418" author="fabio.bat.silva" created="Mon, 30 Jul 2012 14:07:15 +0000"  >&lt;p&gt;Hi guys&lt;/p&gt;

&lt;p&gt;This feature does not change anything on the current event system, just add another way to handle events.&lt;br/&gt;
Actually, the event manager dont filter/group event calls.&lt;br/&gt;
So, the listener implementation must filter which entities accept and process.&lt;/p&gt;

&lt;p&gt;My idea is build something more simple, like lifecycle callbacks instead of use a event manager.&lt;br/&gt;
Grouping the calls in the entity metadata and centralizing the listener instances in a static point.&lt;/p&gt;

&lt;p&gt;It should avoid lots of calls from UoW to notify entities without subscribers.&lt;/p&gt;</comment>
                    <comment id="19456" author="fabio.bat.silva" created="Sat, 2 Feb 2013 20:01:07 +0000"  >&lt;p&gt;fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1872] Evaluate @AssocationOverride/@AttributeOverride in context of Traits</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1872</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;If there is a property $foo in a trait, then the using entity should maybe modify that $foo using @AttributeOverride and @AssociationOverride?&lt;/p&gt;</description>
                <environment></environment>
            <key id="13776">DDC-1872</key>
            <summary>Evaluate @AssocationOverride/@AttributeOverride in context of Traits</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                        <label>documentation</label>
                    </labels>
                <created>Tue, 12 Jun 2012 14:01:49 +0000</created>
                <updated>Sat, 6 Oct 2012 08:36:29 +0000</updated>
                    <resolved>Sat, 6 Oct 2012 08:36:29 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18388" author="cordoval" created="Sun, 29 Jul 2012 05:47:39 +0000"  >&lt;p&gt;done &lt;a href=&quot;https://github.com/doctrine/orm-documentation/pull/117&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/orm-documentation/pull/117&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18788" author="beberlei" created="Sat, 6 Oct 2012 08:36:29 +0000"  >&lt;p&gt;Added test&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1574] Support operator &apos;new&apos; in  DQL </title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1574</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I know that is a very complex feature, &lt;br/&gt;
But would be nice if doctrine DQL get supports for the operator &apos;new&apos; like hibernate.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.jboss.org/hibernate/core/4.0/hem/en-US/html/queryhql.html#queryhql-select&quot; class=&quot;external-link&quot;&gt;http://docs.jboss.org/hibernate/core/4.0/hem/en-US/html/queryhql.html#queryhql-select&lt;/a&gt;&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;

class User
{
    /**
     * @Id @Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt;)
     * @GeneratedValue
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; $id;
    /**
     * @Column()
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; $name;
    /**
     * @Column()
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; $email;
    &lt;span class=&quot;code-comment&quot;&gt;// some code
&lt;/span&gt;}

class UserVO
{
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __construct($name, $email)
    {
        &lt;span class=&quot;code-comment&quot;&gt;/// some code
&lt;/span&gt;    }
}

&lt;span class=&quot;code-comment&quot;&gt;//DQL : SELECT &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; UserVO(u.name, u.email) FROM User u;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;



&lt;p&gt;RELATED : &lt;br/&gt;
&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1729&quot; title=&quot;Translate queries into graphs of value objects (instead of array hydration?)&quot;&gt;DDC-1729&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13323">DDC-1574</key>
            <summary>Support operator &apos;new&apos; in  DQL </summary>
                <type id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="fabio.bat.silva">Fabio B. Silva</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Dec 2011 21:52:24 +0000</created>
                <updated>Fri, 5 Oct 2012 14:57:25 +0000</updated>
                    <resolved>Fri, 5 Oct 2012 14:57:25 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17153" author="beberlei" created="Fri, 30 Dec 2011 23:38:52 +0000"  >&lt;p&gt;It might be even rather simple to implement, but I don&apos;t see the use-case tbh.&lt;/p&gt;</comment>
                    <comment id="17162" author="fabio.bat.silva" created="Sat, 31 Dec 2011 14:16:29 +0000"  >&lt;p&gt;Hello Benjamin,&lt;/p&gt;

&lt;p&gt;This is a well-known hibernate feature, this is very usefull when need to use value/transfer objects whit values from many entities or aggregate functions.&lt;br/&gt;
Instead of having a array result from a complex selec with many joins and agragations the result would be used into a simple value object.&lt;/p&gt;

&lt;p&gt;I would like to create this feature if some one could give me some tips about the best way to implement this.&lt;/p&gt;</comment>
                    <comment id="17163" author="beberlei" created="Sun, 1 Jan 2012 17:04:02 +0000"  >&lt;p&gt;I think the added complexity should not be done before we have value object support in hydrators.&lt;/p&gt;

&lt;p&gt;The code to touch here is:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;ResultSetMapping&lt;/li&gt;
	&lt;li&gt;Abstract-/ObjectHydrator&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please do not attempt this now, i am very unsure about this yet.&lt;/p&gt;</comment>
                    <comment id="17164" author="fabio.bat.silva" created="Sun, 1 Jan 2012 17:25:41 +0000"  >&lt;p&gt;I agree with you, we have others important features to do.&lt;br/&gt;
Any way I think that would be a usefull feature.&lt;/p&gt;

&lt;p&gt;I&apos;ll be waiting. &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                    <comment id="18774" author="fabio.bat.silva" created="Fri, 5 Oct 2012 14:57:25 +0000"  >&lt;p&gt;Fixed by : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/13762f20c9f6daa0c2e4e8a113de01969c6621da&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/13762f20c9f6daa0c2e4e8a113de01969c6621da&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1376] Foreign key not available to order when using findBy()</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1376</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&amp;lt;?php
/**
 * Service
 *
 * @Entity(repositoryClass=&lt;span class=&quot;code-quote&quot;&gt;&quot;App_Model_Repository_Si_Service&quot;&lt;/span&gt;)
 * @Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;service&quot;&lt;/span&gt;)
 */
class App_Model_Entities_Si_Service
{
   /**
    * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt;
    *
    * @Id
    * @GeneratedValue(strategy=&lt;span class=&quot;code-quote&quot;&gt;&quot;SEQUENCE&quot;&lt;/span&gt;)
    * @Column(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;pk&quot;&lt;/span&gt;, type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt;)
    */
   &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; $pk;

    /**
     * Service parent
     * @&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; App_Model_Entities_Si_Service
     *
     * @ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;App_Model_Entities_Si_Service&quot;&lt;/span&gt;, cascade={&lt;span class=&quot;code-quote&quot;&gt;&quot;all&quot;&lt;/span&gt;}, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;service&quot;&lt;/span&gt;)
     * @JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;pk_service&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;pk&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;private&lt;/span&gt; $service;

   /**
    * Returns an App_Model_Entities_Si_Service that represents the service
    *
    * @&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; App_Model_Entities_Si_Service
    */
   &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getService(){
      &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;service;
   }
   /**
    * Set an App_Model_Entities_Si_Service that represents a service
    *
    * @param App_Model_Entities_Si_Service $newService
    */
   &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function setService($newService){
      $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;service = $newService;
   }
}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$service = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;service(&apos;Service_Type&apos;, &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
$serviceType = $service-&amp;gt;findOneBy(array(&apos;code&apos; =&amp;gt; &apos;service&apos;));
        
$service = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;service(&apos;Service&apos;, &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;);
$services = $service-&amp;gt;findBy(
    array(&apos;serviceType&apos; =&amp;gt; $serviceType-&amp;gt;getPk()),
    array(&apos;service&apos; =&amp;gt; &apos;ASC&apos;)
);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Using orderBy parameter of EntityRepository::findBy() with Foreign Key do not work.&lt;br/&gt;
An Unrecognized field error occured.&lt;/p&gt;

&lt;p&gt;Of course, i can use DQL but i think this function should work with mapping.&lt;/p&gt;

&lt;p&gt;Thank you in advance&lt;/p&gt;</description>
                <environment></environment>
            <key id="13019">DDC-1376</key>
            <summary>Foreign key not available to order when using findBy()</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="presteus">Presteus</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Sep 2011 14:17:51 +0000</created>
                <updated>Mon, 14 Jan 2013 02:35:31 +0000</updated>
                    <resolved>Mon, 14 Jan 2013 02:35:31 +0000</resolved>
                            <version>2.1.1</version>
                                <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16480" author="beberlei" created="Thu, 15 Sep 2011 16:19:49 +0000"  >&lt;p&gt;Not a bug&lt;/p&gt;</comment>
                    <comment id="19314" author="fabio.bat.silva" created="Mon, 14 Jan 2013 02:35:31 +0000"  >&lt;p&gt;Fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/b30b06852bc4eacf8bbbed472e1d6ec21310ec0a&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/b30b06852bc4eacf8bbbed472e1d6ec21310ec0a&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1245] Check if Entity implements EventSubscriber to allow access to EM</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1245</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;There is often the feature request that the EM should be accessible in entities when events are triggered.&lt;/p&gt;

&lt;p&gt;We should allow entities or repositories to implement EventSubscriber and trigger events accordingly, or find some other scheme to do so.&lt;/p&gt;

&lt;p&gt;Currently event subscribers are called for ALL entities, this could lead to a performance increase when only triggering listeners for entities that need them.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12782">DDC-1245</key>
            <summary>Check if Entity implements EventSubscriber to allow access to EM</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Jul 2011 13:47:14 +0000</created>
                <updated>Sat, 2 Feb 2013 20:01:54 +0000</updated>
                    <resolved>Sat, 2 Feb 2013 20:01:54 +0000</resolved>
                                            <fixVersion>2.4</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="19457" author="fabio.bat.silva" created="Sat, 2 Feb 2013 20:01:54 +0000"  >&lt;p&gt;fixed : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/71a68a5c6fcd49538c3ef2f86d64bcde1958251c&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>