<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 15:12:38 UTC 2013

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

<item>
            <title>[DBAL-214] Unable to use PDO::FETCH_CLASS with a call to fetch()</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-214</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;EDITED: 2nd attempt to describe this - first one was confusing.&lt;/p&gt;

&lt;p&gt;I don&apos;t understand why the setFetchMode() method of Doctrine\DBAL\Driver\PDOStatement drops any arguments passed to it. It means that PDO::FETCH_CLASS cannot be used with calls to fetch() and no warning is given until the point when the underlying \PDOStatement complains that no class has been specified.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13401">DBAL-214</key>
            <summary>Unable to use PDO::FETCH_CLASS with a call to fetch()</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>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="acleon">Andy Leon</reporter>
                        <labels>
                    </labels>
                <created>Mon, 30 Jan 2012 18:05:33 +0000</created>
                <updated>Sat, 5 May 2012 08:52:55 +0000</updated>
                    <resolved>Sat, 5 May 2012 08:52:37 +0000</resolved>
                            <version>2.0.0-BETA2</version>
                <version>2.0.0-BETA3</version>
                <version>2.0.0-BETA4</version>
                <version>2.0.0-RC1-RC3</version>
                <version>2.0-RC4</version>
                <version>2.0-RC5</version>
                <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                <version>2.0.3</version>
                <version>2.0.4</version>
                <version>2.0.5</version>
                <version>2.0.6</version>
                <version>2.0.7</version>
                <version>2.0.8</version>
                <version>2.0.9</version>
                <version>2.1</version>
                <version>2.1.1</version>
                <version>2.1.2</version>
                <version>2.1.3</version>
                <version>2.1.5</version>
                <version>2.1.6</version>
                <version>2.2-BETA1</version>
                <version>2.2-BETA2</version>
                <version>2.2-RC1/RC2</version>
                <version>2.2.0-RC3</version>
                <version>2.2</version>
                <version>2.2.1</version>
                <version>2.2.2</version>
                <version>2.3</version>
                                <fixVersion>2.2.3</fixVersion>
                <fixVersion>2.3</fixVersion>
                                <component>Drivers</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="17366" author="noodha" created="Fri, 3 Feb 2012 22:21:18 +0000"  >&lt;p&gt;In Doctrine/DBAL/Statement.php the 2nd and 3rd arguments of setFetchMode are dropped too.&lt;/p&gt;

&lt;p&gt;Error message example when PDO::FETCH_CLASS is used as the first argument of setFetchMode: &lt;br/&gt;
$stmt-&amp;gt;setFetchMode(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, &apos;ClassName&apos;);&lt;br/&gt;
display the error: PDOException: SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;HY000&amp;#93;&lt;/span&gt;: General error: fetch mode requires the classname argument&lt;/p&gt;</comment>
                    <comment id="17918" author="fabpot" created="Sat, 5 May 2012 07:39:31 +0000"  >&lt;p&gt;This regression was introduced here: &lt;a href=&quot;https://github.com/doctrine/dbal/commit/f4acc79a3e91059a932d7a2d43309f6f8f65fa59&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/commit/f4acc79a3e91059a932d7a2d43309f6f8f65fa59&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It breaks some of my websites when upgrading DBAL. So, this is not an improvement but a regression bug.&lt;/p&gt;</comment>
                    <comment id="17921" author="beberlei" created="Sat, 5 May 2012 08:51:26 +0000"  >&lt;p&gt;Yes, i have to change this again.&lt;/p&gt;

&lt;p&gt;The problem is its complex to support the 2nd/3rd arguments in the statement caching layer, i will just throw an exception for now and add an improvement ticket.&lt;/p&gt;</comment>
                    <comment id="17922" author="beberlei" created="Sat, 5 May 2012 08:52:37 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                    <comment id="17923" author="beberlei" created="Sat, 5 May 2012 08:52:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/doctrine/dbal/commit/d3930dcdb89cc818798c8f13e4126f76cf82ef8b&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/commit/d3930dcdb89cc818798c8f13e4126f76cf82ef8b&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>