<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 12:35:41 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-292/DBAL-292.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-292] Multiple use of named parameter doesn&apos;t work</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-292</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;In the example in the documentation &lt;a href=&quot;http://doctrine-dbal.readthedocs.org/en/2.0.x/reference/data-retrieval-and-manipulation.html#dynamic-parameters-and-prepared-statements&quot; class=&quot;external-link&quot;&gt;http://doctrine-dbal.readthedocs.org/en/2.0.x/reference/data-retrieval-and-manipulation.html#dynamic-parameters-and-prepared-statements&lt;/a&gt;  there is the following example:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;$sql = &quot;SELECT * FROM users WHERE name = :name OR username = :name&quot;;&lt;br/&gt;
$stmt = $conn-&amp;gt;prepare($sql);&lt;br/&gt;
$stmt-&amp;gt;bindValue(&quot;name&quot;, $name);&lt;br/&gt;
$stmt-&amp;gt;execute();&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;When I try this example using pdo_sqlsrv I get the following error: &lt;br/&gt;
PDOException: SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;07002&amp;#93;&lt;/span&gt;: &lt;span class=&quot;error&quot;&gt;&amp;#91;Microsoft&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;SQL Server Native Client 11.0&amp;#93;&lt;/span&gt;COUNT field incorrect or syntax error&lt;/p&gt;

&lt;p&gt;When I use instead the parameters name1 and name2 the query works as expected.&lt;/p&gt;</description>
                <environment>IIS 7.5, MS-SQL-Server 2005, PHP 5.4.0</environment>
            <key id="13778">DBAL-292</key>
            <summary>Multiple use of named parameter doesn&apos;t work</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="10000" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/needinfo.png">Awaiting Feedback</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="jue">J&#252;rgen</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Jun 2012 18:31:19 +0000</created>
                <updated>Wed, 23 Jan 2013 22:56:54 +0000</updated>
                                    <version>2.2.2</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18223" author="asm89" created="Sat, 7 Jul 2012 14:44:39 +0000"  >&lt;p&gt;Are you sure you were using the 2.2.2 version of the ORM? Can you try to reproduce this with the latest master?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>