<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Thu Jun 20 02:22:15 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+DBAL+AND+updated%3E%3D-1w+ORDER+BY+updated+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+DBAL+AND+updated%3E%3D-1w+ORDER+BY+updated+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="10" total="10"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DBAL-548] [GH-338] Fix foreign table name quotation in schema table and Sqlite platform</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-548</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of deeky666:&lt;/p&gt;

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

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

&lt;p&gt;This fixes a bug introduced in PR #302 where the foreign table name did not get properly quoted in some circumstances.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15061">DBAL-548</key>
            <summary>[GH-338] Fix foreign table name quotation in schema table and Sqlite platform</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Jun 2013 21:35:45 +0000</created>
                <updated>Tue, 18 Jun 2013 21:35:45 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-537] [GH-330] Cloning</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-537</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of Tim-Erwin:&lt;/p&gt;

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

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

&lt;p&gt;This adds deep clone support to the DBAL QueryBuilder. I just realized, there is already a pending pull request for this, however, this one already incorporates the suggestions found in the former.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15017">DBAL-537</key>
            <summary>[GH-330] Cloning</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="3">Duplicate</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Jun 2013 20:50:12 +0000</created>
                <updated>Tue, 18 Jun 2013 07:10:12 +0000</updated>
                    <resolved>Tue, 18 Jun 2013 07:09:53 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20590" author="doctrinebot" created="Tue, 18 Jun 2013 07:08:32 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-330&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/330&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/330&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="14541">DDC-2313</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-541] [GH-334] Fixed Unit Tests</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-541</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of kinncj:&lt;/p&gt;

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

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

</description>
                <environment></environment>
            <key id="15034">DBAL-541</key>
            <summary>[GH-334] Fixed Unit Tests</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="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Jun 2013 21:51:29 +0000</created>
                <updated>Tue, 18 Jun 2013 07:09:17 +0000</updated>
                    <resolved>Tue, 18 Jun 2013 07:09:17 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20525" author="doctrinebot" created="Mon, 10 Jun 2013 21:52:14 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-334&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/334&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/334&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-542] [GH-335] Quoting table name</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-542</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of kinncj:&lt;/p&gt;

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

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

&lt;p&gt;As talked with Blanco.&lt;br/&gt;
Quoting table name to avoid errors with:&lt;br/&gt;
```sql&lt;br/&gt;
SELECT * FROM order;&lt;br/&gt;
```&lt;br/&gt;
it was possible doing&lt;br/&gt;
```php&lt;br/&gt;
ORM\Table(name=&quot;`order`&quot;);&lt;br/&gt;
```&lt;br/&gt;
But if I change the database, I should change all my entities to the &quot;new quotes&quot;&lt;/p&gt;

&lt;p&gt;this way, we can avoid this errors in a &quot;transparent&quot; way.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15039">DBAL-542</key>
            <summary>[GH-335] Quoting table name</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="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Jun 2013 04:32:36 +0000</created>
                <updated>Tue, 18 Jun 2013 07:09:01 +0000</updated>
                    <resolved>Tue, 18 Jun 2013 07:09:01 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20577" author="doctrinebot" created="Sat, 15 Jun 2013 21:10:46 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-335&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/335&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/335&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-546] [GH-337] Add getBindingType() method in DecimalType</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-546</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of javierseixas:&lt;/p&gt;

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

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

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

&lt;p&gt;I was trying to use the findBy method from the repository, where some of the criteria data were negative floats values. I didn&apos;t get any results, though I had coincidental records in the BD with that criteria.&lt;/p&gt;

&lt;p&gt;After searching I found this issue: &lt;a href=&quot;http://stackoverflow.com/questions/8300208/php-pdo-prepare-negatives-become-positive&quot; class=&quot;external-link&quot;&gt;http://stackoverflow.com/questions/8300208/php-pdo-prepare-negatives-become-positive&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, it seemed the problem was caused for the same reason. I&apos;ve added the getBindingType() returning the PDO::PARAM_INT constant and now my findBy is returning the results correctly.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15055">DBAL-546</key>
            <summary>[GH-337] Add getBindingType() method in DecimalType</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="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Jun 2013 13:51:54 +0000</created>
                <updated>Tue, 18 Jun 2013 07:06:02 +0000</updated>
                    <resolved>Tue, 18 Jun 2013 07:06:02 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20589" author="doctrinebot" created="Tue, 18 Jun 2013 06:55:14 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-337&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/337&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/337&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-547] Evaluate moving away from prepared statements to sprintf()</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-547</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;We are using prepared statements and parsing on top at the moment to implement things like array param quoting and such.&lt;/p&gt;

&lt;p&gt;We should evaluate if it makes sense to introduce a strategy for preparing/parsing queries and make sprintf() usage a default in 3.0 instead of using prepared statements. At least for MySQL the PHP Driver guys are arguing for this kind of processing for years.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15058">DBAL-547</key>
            <summary>Evaluate moving away from prepared statements to sprintf()</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Jun 2013 06:59:52 +0000</created>
                <updated>Tue, 18 Jun 2013 07:00:26 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-545] [GH-336] Fixing error code on DBALException (forwarding SQL Error Code). </title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-545</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of naroga:&lt;/p&gt;

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

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

&lt;p&gt;&apos;0&apos; was the previous hardcoded error code. I&apos;m just forwarding whatever SQL Error code might occur during a query.&lt;/p&gt;

&lt;p&gt;Previous to this fix, we&apos;d have to check for whatever Exception was thrown before DBALException in order to get the error code.&lt;/p&gt;

&lt;p&gt;Useful when trying to come up with user-friendly error messages.&lt;/p&gt;</description>
                <environment></environment>
            <key id="15048">DBAL-545</key>
            <summary>[GH-336] Fixing error code on DBALException (forwarding SQL Error 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="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Jun 2013 14:50:15 +0000</created>
                <updated>Sat, 15 Jun 2013 08:47:01 +0000</updated>
                    <resolved>Sat, 15 Jun 2013 08:47:01 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20576" author="doctrinebot" created="Sat, 15 Jun 2013 07:37:01 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-336&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/336&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/336&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-489] [GH-302] [DBAL-374] Fix asset identfier quotation</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-489</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of deeky666:&lt;/p&gt;

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

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

&lt;p&gt;This PR introduces a real solution for the issues discussed in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-374&quot; title=&quot;[GH-222] Escape primary field name in create table sql query&quot;&gt;&lt;del&gt;DBAL-374&lt;/del&gt;&lt;/a&gt;(&lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-374&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DBAL-374&lt;/a&gt;).&lt;br/&gt;
It adds the possibility to retrieve quoted column names from &amp;lt;code&amp;gt;Index&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ForeignKeyConstraint&amp;lt;/code&amp;gt; assets if it is necessary (e.g. column name is a keyword reserved by the platform).&lt;br/&gt;
In general column names are wrapped into an abstraction class &amp;lt;code&amp;gt;Identifier&amp;lt;/code&amp;gt; which inherits from &amp;lt;code&amp;gt;AbstractAsset&amp;lt;/code&amp;gt; inside &amp;lt;code&amp;gt;Index&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ForeignKeyConstraint&amp;lt;/code&amp;gt;. This allows to get a quoted representation of each column name via the &amp;lt;code&amp;gt;AbstractAsset::getQuotedName&amp;lt;/code&amp;gt;.&lt;br/&gt;
All platforms are updated to make use of the new functionality.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14769">DBAL-489</key>
            <summary>[GH-302] [DBAL-374] Fix asset identfier quotation</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="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Apr 2013 17:48:08 +0000</created>
                <updated>Fri, 14 Jun 2013 21:55:27 +0000</updated>
                    <resolved>Fri, 14 Jun 2013 21:55:27 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20574" author="doctrinebot" created="Fri, 14 Jun 2013 20:41:48 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-302&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/302&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/302&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20575" author="ocramius" created="Fri, 14 Jun 2013 21:55:27 +0000"  >&lt;p&gt;Merged at &lt;a href=&quot;https://github.com/doctrine/dbal/commit/b18ab96824a38b03227b11ba27c3b48e33f47b86&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/commit/b18ab96824a38b03227b11ba27c3b48e33f47b86&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-533] [GH-327] #DDC-2313: QueryBuilder Deep Cloning</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-533</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of pmen:&lt;/p&gt;

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

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

</description>
                <environment></environment>
            <key id="14996">DBAL-533</key>
            <summary>[GH-327] #DDC-2313: QueryBuilder Deep Cloning</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="doctrinebot">Doctrine Bot</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 May 2013 23:37:51 +0000</created>
                <updated>Thu, 13 Jun 2013 23:30:27 +0000</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="20567" author="doctrinebot" created="Thu, 13 Jun 2013 23:30:27 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-327&amp;#93;&lt;/span&gt; was closed:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/327&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/327&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-544] Where&apos;s the Query::HYDRATE_BOTH constant? </title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-544</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;In the documentation of the the ResultStatement::fetch() function says that we should use the Query::HYDRATE_* constants but that constant does not exist at least not in 2.3.4.&lt;/p&gt;

&lt;p&gt;Should I just use PDO::FETCH_BOTH? But if I change the driver to sqlite or whatever is it going to work well?&lt;/p&gt;
</description>
                <environment>Doctrine 2.3.4  DBAL + ORM, using Silex</environment>
            <key id="15043">DBAL-544</key>
            <summary>Where&apos;s the Query::HYDRATE_BOTH constant? </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="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="jmontoya">Julio Montoya</reporter>
                        <labels>
                        <label>Query::HYDRATE_BOTH</label>
                    </labels>
                <created>Wed, 12 Jun 2013 18:01:54 +0000</created>
                <updated>Thu, 13 Jun 2013 08:21:44 +0000</updated>
                                    <version>2.3.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="20553" author="ocramius" created="Wed, 12 Jun 2013 18:09:01 +0000"  >&lt;p&gt;Query constants are defined in AbstractQuery (superclass of the Query class) - see &lt;a href=&quot;https://github.com/doctrine/doctrine2/blob/2.3.4/lib/Doctrine/ORM/AbstractQuery.php#L45-L60&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/blob/2.3.4/lib/Doctrine/ORM/AbstractQuery.php#L45-L60&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="20554" author="jmontoya" created="Wed, 12 Jun 2013 18:14:13 +0000"  >&lt;p&gt;Hello Marco! Thanks for your fast answer! &lt;br/&gt;
Some comments: The constant HYDRATE_BOTH doesn&apos;t exist, at least not with that name. Documentation should be updated too.&lt;br/&gt;
Another thing I&apos;m obliged to use ORM to call a constant in DBAL? Not a problem for me because I need both &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="20555" author="ocramius" created="Wed, 12 Jun 2013 18:25:45 +0000"  >&lt;p&gt;Sorry, confused this one as an ORM issue. &lt;/p&gt;</comment>
                    <comment id="20556" author="ocramius" created="Wed, 12 Jun 2013 18:29:26 +0000"  >&lt;p&gt;Checked briefly - you should indeed use the `PDO::FETCH_*` constants.&lt;/p&gt;

&lt;p&gt;Can you link the document that contains the imprecision?&lt;/p&gt;</comment>
                    <comment id="20564" author="jmontoya" created="Wed, 12 Jun 2013 19:12:41 +0000"  >&lt;p&gt;This is the documentation in the fetch(), fetchAll() functions in DBAL:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Driver/ResultStatement.php#L61&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/blob/master/lib/Doctrine/DBAL/Driver/ResultStatement.php#L61&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For example, if I want to fetch an Object what should I use 1. or 2. ? I don&apos;t know if this have some implications in other drivers.&lt;/p&gt;

&lt;p&gt;1. $statement-&amp;gt;fetch(\Doctrine\ORM\Query::HYDRATE_OBJECT);&lt;br/&gt;
2. $statement-&amp;gt;fetch(PDO::FETCH_OBJ);&lt;/p&gt;

&lt;p&gt;An update to the documentation will be fine too:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/data-retrieval-and-manipulation.html#using-prepared-statements&quot; class=&quot;external-link&quot;&gt;http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/data-retrieval-and-manipulation.html#using-prepared-statements&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it should be:&lt;/p&gt;

&lt;p&gt;fetch($fetchMode)&lt;/p&gt;

&lt;p&gt;instead of &lt;/p&gt;

&lt;p&gt;fetch($fetchStyle)&lt;/p&gt;

&lt;p&gt;with a list of options (constants) ...&lt;/p&gt;

</comment>
                    <comment id="20565" author="jmontoya" created="Thu, 13 Jun 2013 08:21:44 +0000"  >&lt;p&gt;Working in a PR but first we need to define those constants ...&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/jmontoyaa/dbal/commit/d3a44589cdef6c146592eee2b2bd9f8907dadd1f&quot; class=&quot;external-link&quot;&gt;https://github.com/jmontoyaa/dbal/commit/d3a44589cdef6c146592eee2b2bd9f8907dadd1f&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>