<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 23:54: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.3%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&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.3%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="7" total="7"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-1985] Call to undefined method ProxyException::proxyDirectoryNotWritable</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1985</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I think it&apos;s fairly self explanatory, didn&apos;t supply a patch since I had no idea what text you wanted there &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;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:  Call to undefined method Doctrine\ORM\Proxy\ProxyException::proxyDirectoryNotWritable() in .../orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php on line 193&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
            <key id="13968">DDC-1985</key>
            <summary>Call to undefined method ProxyException::proxyDirectoryNotWritable</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="dynom">Mark van der Velden</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Aug 2012 15:19:55 +0000</created>
                <updated>Fri, 17 Aug 2012 04:51:01 +0000</updated>
                    <resolved>Fri, 17 Aug 2012 04:51:01 +0000</resolved>
                            <version>2.2.3</version>
                                <fixVersion>2.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18521" author="guilhermeblanco" created="Fri, 17 Aug 2012 04:51:01 +0000"  >&lt;p&gt;This issue is already fixed in master&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1591] Paginator: ResultVariable cannot be used in HavingClause</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1591</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Using the QueryBuilder, I&apos;m getting the message&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;Notice: Undefined index: distance in vendor\doctrine\lib\Doctrine\ORM\Query\SqlWalker.php line 2128
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;when trying to add a &quot;having&quot; clause for the field &quot;distance&quot;, which is defined in the &quot;select&quot; part of the statement:&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;$queryBuilder
    -&amp;gt;select(&apos;myEntity, MY_FUNCTION() AS distance&apos;)
    -&amp;gt;having(&apos;distance &amp;lt;= 10&apos;)
;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13346">DDC-1591</key>
            <summary>Paginator: ResultVariable cannot be used in HavingClause</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="craue">Christian Raue</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Jan 2012 23:35:34 +0000</created>
                <updated>Thu, 15 Mar 2012 22:22:50 +0000</updated>
                    <resolved>Thu, 15 Mar 2012 22:22:50 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17245" author="fabio.bat.silva" created="Sat, 14 Jan 2012 16:52:27 +0000"  >&lt;p&gt;Christian, I couldn&apos;t reproduce.&lt;/p&gt;

&lt;p&gt;Can you give more details ?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                    <comment id="17253" author="craue" created="Sun, 15 Jan 2012 14:24:14 +0000"  >&lt;p&gt;I tried it again and found out that it could also be an issue in &lt;a href=&quot;https://github.com/whiteoctober/Pagerfanta&quot; class=&quot;external-link&quot;&gt;https://github.com/whiteoctober/Pagerfanta&lt;/a&gt; rather in Doctrine itself because my query is passed to that pager to show a sliced result. Maybe that issue could already be resolved by &lt;a href=&quot;https://github.com/whiteoctober/Pagerfanta/pull/46&quot; class=&quot;external-link&quot;&gt;https://github.com/whiteoctober/Pagerfanta/pull/46&lt;/a&gt;. Will give it a try...&lt;/p&gt;</comment>
                    <comment id="17256" author="craue" created="Sun, 15 Jan 2012 14:31:36 +0000"  >&lt;p&gt;In fact, applying that patch made the query work. So this is not a Doctrine issue.&lt;/p&gt;</comment>
                    <comment id="17395" author="craue" created="Fri, 10 Feb 2012 17:55:22 +0000"  >&lt;p&gt;Since the PR mentioned was not merged and Doctrine&apos;s pagination is used now, the issue still exists and I cannot use a result variable in a &quot;having&quot; clause. But I&apos;d like to. &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;</comment>
                    <comment id="17396" author="stof" created="Fri, 10 Feb 2012 17:57:05 +0000"  >&lt;p&gt;This ticket is indeed invalid as it is talking about the query builder. Please open a dedicated ticket for the pagination issue&lt;/p&gt;</comment>
                    <comment id="17397" author="craue" created="Fri, 10 Feb 2012 18:05:38 +0000"  >&lt;p&gt;But I am using the QueryBuilder and then passing the query to a DoctrineORMAdapter instance. The error message didn&apos;t change, just the line number:&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;Notice: Undefined index: distance in vendor\doctrine\lib\Doctrine\ORM\Query\SqlWalker.php line 2142
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But I can confirm that this error doesn&apos;t occur when not using a paginator. How to continue?&lt;/p&gt;</comment>
                    <comment id="17399" author="beberlei" created="Fri, 10 Feb 2012 20:30:25 +0000"  >&lt;p&gt;Which paginator are you using?&lt;/p&gt;</comment>
                    <comment id="17402" author="craue" created="Fri, 10 Feb 2012 20:33:55 +0000"  >&lt;p&gt;Still &lt;a href=&quot;https://github.com/whiteoctober/Pagerfanta/&quot; class=&quot;external-link&quot;&gt;https://github.com/whiteoctober/Pagerfanta/&lt;/a&gt; &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;</comment>
                    <comment id="17456" author="beberlei" created="Mon, 20 Feb 2012 10:44:55 +0000"  >&lt;p&gt;Renamed and assigned issue.&lt;/p&gt;</comment>
                    <comment id="17601" author="asm89" created="Thu, 15 Mar 2012 22:22:50 +0000"  >&lt;p&gt;Fixed as sander was kind enough to resubmit the code to the doctrine2 repository now instead:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/298&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/298&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1919] Doctrine fails to escape entity with reserved name in various situations</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1919</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I have submitted a PR here, fixing part of this issue: &lt;a href=&quot;https://github.com/doctrine/dbal/pull/166&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/166&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, it fails when UPDATE or INSERT is used. I&apos;m using a very simple, and common, entity name: Group. Doctrine is failing to escape this in various situations, causing queries to fail in MySQL due to reserved keywords.&lt;/p&gt;</description>
                <environment>MySQL</environment>
            <key id="13845">DDC-1919</key>
            <summary>Doctrine fails to escape entity with reserved name in various situations</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="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="klaussilveira">Klaus Silveira</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Jul 2012 21:34:08 +0000</created>
                <updated>Thu, 19 Jul 2012 18:27:21 +0000</updated>
                    <resolved>Wed, 11 Jul 2012 19:28:24 +0000</resolved>
                            <version>2.2</version>
                                <fixVersion>2.3</fixVersion>
                <fixVersion>Git Master</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18274" author="ocramius" created="Wed, 11 Jul 2012 00:31:41 +0000"  >&lt;p&gt;Can you try using the quoting strategy in master? By defining an &apos;@Table(name=&quot;`Group`&quot;)&apos; on your entity you should be able to fix this issue by yourself... Anyway, this is only available in latest master.&lt;br/&gt;
Please give it a try and let us know.&lt;/p&gt;</comment>
                    <comment id="18275" author="klaussilveira" created="Wed, 11 Jul 2012 17:27:34 +0000"  >&lt;p&gt;That hack, of course, fixes the problem. However, Doctrine is failing to escape entities with reserved keywords in various different situations and this should be a major problem, specially since there are many keywords that are common table names. Having to change the table name or escape the table name manually is not the best solution.&lt;/p&gt;

&lt;p&gt;I have look through the code but could not find out why getQuotedTableName() is failing to quote the table name &quot;Group&quot;. I fixed the other problem, involving schema creation, but this one i couldn&apos;t fix. That&apos;s why i&apos;m opening the issue, hoping someone with more experience in the ORM codebase manages to fix it.&lt;/p&gt;</comment>
                    <comment id="18276" author="ocramius" created="Wed, 11 Jul 2012 18:04:26 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=klaussilveira&quot; class=&quot;user-hover&quot; rel=&quot;klaussilveira&quot;&gt;Klaus Silveira&lt;/a&gt;, doctrine won&apos;t quote (at least with the default strategy) a table called &quot;Group&quot;. The default strategy will look for the sorrounding &quot;`&quot; (&quot;`Group`&quot;).&lt;br/&gt;
Is it still failing to quote something in latest master? Can you write a simple example of a failure you are getting?&lt;/p&gt;</comment>
                    <comment id="18277" author="klaussilveira" created="Wed, 11 Jul 2012 18:12:48 +0000"  >&lt;p&gt;The failure is caused when querying anything related to an entity wich it&apos;s name is a reserved keyword, for example, an entity called &quot;Group&quot;. I expected Doctrine to quote such table names. &lt;/p&gt;</comment>
                    <comment id="18278" author="ocramius" created="Wed, 11 Jul 2012 18:41:26 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=klaussilveira&quot; class=&quot;user-hover&quot; rel=&quot;klaussilveira&quot;&gt;Klaus Silveira&lt;/a&gt; did you put an @Table(name=&quot;`Group`&quot;) in it?&lt;/p&gt;</comment>
                    <comment id="18279" author="ocramius" created="Wed, 11 Jul 2012 18:48:04 +0000"  >&lt;p&gt;Please note that &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;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unable to find source-code formatter for language: php.&lt;/span&gt; Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml&lt;/div&gt;&lt;pre&gt;@Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;Group&quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; and &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;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unable to find source-code formatter for language: php.&lt;/span&gt; Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml&lt;/div&gt;&lt;pre&gt;@Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;`Group`&quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; are quite different. That&apos;s why I&apos;m asking&lt;/p&gt;</comment>
                    <comment id="18280" author="klaussilveira" created="Wed, 11 Jul 2012 19:00:52 +0000"  >&lt;p&gt;As i said, that hack fixes the problem. But i don&apos;t believe that having to change the table name or escape the table name manually is the best solution. Doctrine should be doing that transparently, as it does for other situations (such as during schema creation). Why not during all other operations? Makes no sense at all.&lt;/p&gt;</comment>
                    <comment id="18281" author="ocramius" created="Wed, 11 Jul 2012 19:22:07 +0000"  >&lt;p&gt;This is not a hack... In ORM, &quot;`&quot; is not the MySQL identifier quote. It is exactly thought as a character with which you tell the ORM that the identifier should be quoted.&lt;br/&gt;
The default strategy does make use of it, so please use it.&lt;/p&gt;</comment>
                    <comment id="18282" author="ocramius" created="Wed, 11 Jul 2012 19:27:29 +0000"  >&lt;p&gt;Also, we won&apos;t collect the SQL reserved keywords, nor we can know what keywords are used in all vendors. The patch for the quoting strategy was exactly thought to allow end users to use insecure names for their objects/fields/indexes/etc but without having the ORM implement those checks for them (since it would just be messy and too &quot;magic&quot;).&lt;/p&gt;

&lt;p&gt;Please also reconsider your pull request on github too ( &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-298&quot; title=&quot;[GH-166] Fixes a bug caused by unquoted reserved table name being referenced during schema creation&quot;&gt;&lt;del&gt;DBAL-298&lt;/del&gt;&lt;/a&gt; ).&lt;/p&gt;

&lt;p&gt;I&apos;m closing this one&lt;/p&gt;</comment>
                    <comment id="18283" author="klaussilveira" created="Wed, 11 Jul 2012 19:32:14 +0000"  >&lt;p&gt;Then what&apos;s the purpose of Doctrine\DBAL\Platforms\Keywords\MySQLKeywords?&lt;/p&gt;</comment>
                    <comment id="18284" author="ocramius" created="Wed, 11 Jul 2012 19:38:58 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=klaussilveira&quot; class=&quot;user-hover&quot; rel=&quot;klaussilveira&quot;&gt;Klaus Silveira&lt;/a&gt; not sure, but it isn&apos;t used in ORM.&lt;/p&gt;</comment>
                    <comment id="18339" author="beberlei" created="Thu, 19 Jul 2012 18:27:21 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-166&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/166&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/166&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1915] [GH-396] DDC-1893 - Updating configuration to reflect latest Doctrine Common changes</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1915</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/396&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/396&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;This PR fixes &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1893&quot; title=&quot;Doctrine\ORM\Mapping\Driver\AnnotationDriver::create() not updated for new annotation readers&quot;&gt;&lt;del&gt;DDC-1893&lt;/del&gt;&lt;/a&gt; (&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1893&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DDC-1893&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;The `getDefaultAnnotationDriver` method was changes to stop supporting older incompatible Doctrine Common versions in favour of the newer logic.&lt;/p&gt;

&lt;p&gt;Also, changing logic so that the SimpleAnnotationReader is no more the&lt;br/&gt;
default one. An additional parameter for the method will allow using it (this is a &lt;b&gt;BC break&lt;/b&gt;!)&lt;/p&gt;

&lt;p&gt;The CS fixes that were additionally implemented (along with other minor changes&lt;br/&gt;
that do not affect BC compatibility are caused by a CS sniff via IDE.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13833">DDC-1915</key>
            <summary>[GH-396] DDC-1893 - Updating configuration to reflect latest Doctrine Common 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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</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, 8 Jul 2012 13:01:22 +0000</created>
                <updated>Wed, 11 Jul 2012 23:54:17 +0000</updated>
                    <resolved>Sun, 8 Jul 2012 16:26:30 +0000</resolved>
                                            <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18246" author="beberlei" created="Sun, 8 Jul 2012 16:26:22 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-396&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/396&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/396&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1900] Impossibility to override built-in SQL functions</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1900</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Doctrine doesn&apos;t allow to to create own SQL function for DQL if that function is already defined as &quot;built-in&quot;. An example could be custom &lt;tt&gt;DATE_ADD&lt;/tt&gt; implementation.&lt;br/&gt;
Method &lt;tt&gt;FunctionDeclaration()&lt;/tt&gt; in &lt;em&gt;Doctrine\ORM\Query\Parser&lt;/em&gt; gives higher priority to built-in SQL functions, even if they are not&lt;br/&gt;
usable for a specific situation, and registering of own datetime function doesn&apos;t help. This issue makes it  impossible to use some advanced Doctrine extensions, &lt;br/&gt;
for example &lt;a href=&quot;https://github.com/beberlei/DoctrineExtensions&quot; class=&quot;external-link&quot;&gt;https://github.com/beberlei/DoctrineExtensions&lt;/a&gt; that provide fuller implementations.&lt;br/&gt;
Considering the fact that someone may want to use ready components provided by the community, and being new to Doctrine can&apos;t figure out the way to hack&lt;br/&gt;
or workaround this, the issue is a major one.&lt;/p&gt;</description>
                <environment>Any</environment>
            <key id="13810">DDC-1900</key>
            <summary>Impossibility to override built-in SQL functions</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="lex0r">Alex Oroshchuk</reporter>
                        <labels>
                    </labels>
                <created>Sat, 30 Jun 2012 20:00:28 +0000</created>
                <updated>Thu, 5 Jul 2012 19:57:12 +0000</updated>
                    <resolved>Thu, 5 Jul 2012 19:57:12 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.3</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18160" author="beberlei" created="Wed, 4 Jul 2012 19:12:20 +0000"  >&lt;p&gt;Just name the method differently.&lt;/p&gt;</comment>
                    <comment id="18182" author="lex0r" created="Thu, 5 Jul 2012 05:52:23 +0000"  >&lt;p&gt;To rename the method one has to &lt;b&gt;KNOW&lt;/b&gt; that he has to rename it, i.e. to know about this issue. &lt;br/&gt;
One has to &lt;b&gt;SPEND hours&lt;/b&gt; (like me) on understanding that there are built-in implementations and other extensions that are meant&lt;br/&gt;
to provide necessary features just don&apos;t work. IMHO it&apos;s just too cruel to leave it as is.&lt;/p&gt;

&lt;p&gt;As to the renaming: is it ok to go and edit source code (change class name at least) provided by someone else and then merge all the sources when new releases appear?&lt;br/&gt;
Is that the only way flexible Doctrine provides? Also, I want DQL to be as close as possible to real SQL. I don&apos;t want to see weird stuff like MY_DATE_ADD or BETTER_DATE_ADD, or whatever it will be.&lt;br/&gt;
Syntax matters, we are all writers, code writers...&lt;/p&gt;

&lt;p&gt;I re-open the issue in order to attract more attention, but you are free to decide how to treat it. Hope you&apos;ll find the best solution. A short line in documentation could notify about current limitations and save hours for people&lt;br/&gt;
who want to be productive with Doctrine.&lt;/p&gt;</comment>
                    <comment id="18199" author="beberlei" created="Thu, 5 Jul 2012 19:57:12 +0000"  >&lt;p&gt;Printing statements in bold isnt helpful. This is open-source.&lt;/p&gt;

&lt;p&gt;However, you are right that this could be more user-friendly. Its now throwing an exception when an internal function is attempted to be overwritten.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1843] CLONE -Join columns can&apos;t be quoted</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1843</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Join columns can&apos;t be quoted like columns using name=&quot;`quoted`&quot;. Using annotation driver.&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\Table(
 *      name=&lt;span class=&quot;code-quote&quot;&gt;&quot;`category`&quot;&lt;/span&gt;,
 *      indexes={
 *          @ORM\Index(
 *              name=&lt;span class=&quot;code-quote&quot;&gt;&quot;fk_category_parentId&quot;&lt;/span&gt;,
 *              columns={&lt;span class=&quot;code-quote&quot;&gt;&quot;parentId&quot;&lt;/span&gt;}
 *          )
 *      },
 *      uniqueConstraints={
 *          @ORM\UniqueConstraint(
 *              name=&lt;span class=&quot;code-quote&quot;&gt;&quot;uq_category_nameParentId&quot;&lt;/span&gt;,
 *              columns={&lt;span class=&quot;code-quote&quot;&gt;&quot;name&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;parentId&quot;&lt;/span&gt;}
 *          )
 *      }
 * )
 */
class Category
{
    /**
     * @ORM\Id
     * @ORM\Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;smallint&quot;&lt;/span&gt;, name=&lt;span class=&quot;code-quote&quot;&gt;&quot;`id`&quot;&lt;/span&gt;)
     * @ORM\GeneratedValue(strategy=&lt;span class=&quot;code-quote&quot;&gt;&quot;AUTO&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $id;

    /**
     * @ORM\Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;smallint&quot;&lt;/span&gt;, name=&lt;span class=&quot;code-quote&quot;&gt;&quot;`parentId`&quot;&lt;/span&gt;, nullable=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $parentId;

    /**
     * @ORM\Column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;string&quot;&lt;/span&gt;, length=50, name=&lt;span class=&quot;code-quote&quot;&gt;&quot;`name`&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $name;

    /**
     * @ORM\ManyToOne(targetEntity=&lt;span class=&quot;code-quote&quot;&gt;&quot;Category&quot;&lt;/span&gt;, inversedBy=&lt;span class=&quot;code-quote&quot;&gt;&quot;categories&quot;&lt;/span&gt;)
     * @ORM\JoinColumn(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;parentId&quot;&lt;/span&gt;, referencedColumnName=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;, onDelete=&lt;span class=&quot;code-quote&quot;&gt;&quot;CASCADE&quot;&lt;/span&gt;, onUpdate=&lt;span class=&quot;code-quote&quot;&gt;&quot;NO ACTION&quot;&lt;/span&gt;)
     */
    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $category;
}

... 


&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function load(ObjectManager $manager)
    {
        $parent = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Category();
        $parent-&amp;gt;setName(&apos;parent&apos;);
        $manager-&amp;gt;persist($parent);
        $manager-&amp;gt;flush();

        $child = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; Category();
        $child-&amp;gt;setName(&apos;parent&apos;);
        $child-&amp;gt;setParentId($parent-&amp;gt;getId());
        $child-&amp;gt;setCategory($parent);

        $manager-&amp;gt;persist($child);
        $manager-&amp;gt;flush();
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Result: Invalid parameter number: number of bound variables does not match number of tokens&lt;/p&gt;</description>
                <environment></environment>
            <key id="13737">DDC-1843</key>
            <summary>CLONE -Join columns can&apos;t be quoted</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="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="fabio.bat.silva">Fabio B. Silva</assignee>
                                <reporter username="easen">Marc Easen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 May 2012 12:46:37 +0000</created>
                <updated>Wed, 15 Aug 2012 00:17:24 +0000</updated>
                    <resolved>Wed, 15 Aug 2012 00:17:24 +0000</resolved>
                            <version>2.1.6</version>
                                <fixVersion>2.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18024" author="fabio.bat.silva" created="Mon, 28 May 2012 17:29:33 +0000"  >&lt;p&gt;code format&lt;/p&gt;</comment>
                    <comment id="18139" author="fabio.bat.silva" created="Mon, 25 Jun 2012 13:04:40 +0000"  >&lt;p&gt;Fixed by : &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/cb72219b118c158c9b5344c4b81ff2b1a9149ab0&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/cb72219b118c158c9b5344c4b81ff2b1a9149ab0&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18187" author="easen" created="Thu, 5 Jul 2012 15:14:37 +0000"  >&lt;p&gt;When inserting into an entity which has quoted columns and unquoted JoinColumn the generated SQL includes the correct number of parameters but the incorrect columns names and bind parameters:&lt;/p&gt;

&lt;p&gt;INSERT INTO `table` (`c1`, c1) VALUES (?, ?)&lt;/p&gt;

</comment>
                    <comment id="18188" author="easen" created="Thu, 5 Jul 2012 15:18:40 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/390&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/390&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18189" author="fabio.bat.silva" created="Thu, 5 Jul 2012 15:19:37 +0000"  >&lt;p&gt;Hi Marc,&lt;/p&gt;

&lt;p&gt;Could you attach your entities or a test case please ?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                    <comment id="18194" author="fabio.bat.silva" created="Thu, 5 Jul 2012 18:40:28 +0000"  >&lt;p&gt;Marc, why do you need to quoted columns and unquoted join column ?&lt;/p&gt;

&lt;p&gt;For sure duplicated columns is a problem, but your use case does not make sense for me..&lt;/p&gt;</comment>
                    <comment id="18516" author="fabio.bat.silva" created="Wed, 15 Aug 2012 00:17:24 +0000"  >&lt;p&gt;More details about the related problem : &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/390&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/390&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11194" name="quoted_joins_fix.diff" size="1510" author="easen" created="Mon, 28 May 2012 12:58:06 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1931] Cache $oid and $className through method calls in UoW internals</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1931</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;As suggested by &lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=johannes&quot; class=&quot;user-hover&quot; rel=&quot;johannes&quot;&gt;Johannes Schmitt&lt;/a&gt;, calls in UoW can re-use $oid and $className by passing them to the various methods of UoW internals&lt;/p&gt;</description>
                <environment></environment>
            <key id="13863">DDC-1931</key>
            <summary>Cache $oid and $className through method calls in UoW internals</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="ocramius">Marco Pivetta</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Jul 2012 09:14:46 +0000</created>
                <updated>Tue, 24 Jul 2012 09:47:32 +0000</updated>
                    <resolved>Tue, 24 Jul 2012 09:47:32 +0000</resolved>
                                            <fixVersion>2.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18326" author="ocramius" created="Wed, 18 Jul 2012 01:03:18 +0000"  >&lt;p&gt;Performance gain is nearly 0... Not worth it as far as I&apos;ve seen.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>