<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 16:45:44 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-239/DBAL-239.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-239] CI 2 + DOCTRINE 2 + SQLSERVER 2005 PDO_SQLSRV.DLL</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-239</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Hi, master...&lt;/p&gt;

&lt;p&gt;Please help me, &lt;br/&gt;
i was integration : ci2+doctrine2+pdo_mysql status is OK &lt;a href=&quot;http://103.28.148.89/ci2doctrine2&quot; class=&quot;external-link&quot;&gt;http://103.28.148.89/ci2doctrine2&lt;/a&gt;&lt;br/&gt;
php.ini &lt;a href=&quot;http://103.28.148.89&quot; class=&quot;external-link&quot;&gt;http://103.28.148.89&lt;/a&gt;  ===&amp;gt; phpinfo()&lt;/p&gt;

&lt;p&gt;But ci2+doctrine2+pdo_sqlsrv. Show bugs this :&lt;/p&gt;

&lt;p&gt;&quot;Fatal error: Uncaught exception &apos;PDOException&apos; with message &apos;SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;IMSSP&amp;#93;&lt;/span&gt;: This extension requires either the Microsoft SQL Server 2008 Native Client (SP1 or later) or the Microsoft SQL Server 2008 R2 Native Client ODBC Driver to communicate with SQL Server. Neither of those ODBC Drivers are currently installed. Access the following URL to download the Microsoft SQL Server 2008 R2 Native Client ODBC driver for x86: &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=163712&quot; class=&quot;external-link&quot;&gt;http://go.microsoft.com/fwlink/?LinkId=163712&lt;/a&gt;&apos; in C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Driver\PDOConnection.php:36 Stack trace: #0 C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Driver\PDOConnection.php(36): PDO-&amp;gt;_&lt;em&gt;construct(&apos;sqlsrv:server=B...&apos;, &apos;sa&apos;, &apos;password&apos;, Array) #1 C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Driver\PDOSqlsrv\Driver.php(38): Doctrine\DBAL\Driver\PDOConnection-&amp;gt;&lt;/em&gt;_construct(&apos;sqlsrv:server=B...&apos;, &apos;sa&apos;, &apos;password&apos;, Array) #2 C:\xampp\htdocs\sqlserver\application\third_party\doct in C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Driver\PDOConnection.php on line 36&quot;&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
GBU&lt;/p&gt;</description>
                <environment>os:windows xp&lt;br/&gt;
sqlserver2005</environment>
            <key id="13552">DBAL-239</key>
            <summary>CI 2 + DOCTRINE 2 + SQLSERVER 2005 PDO_SQLSRV.DLL</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="stcoid1">M. David Zainuri</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Mar 2012 18:43:00 +0000</created>
                <updated>Wed, 1 May 2013 17:27:54 +0000</updated>
                    <resolved>Wed, 1 May 2013 17:27:54 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="17649" author="stcoid1" created="Sun, 25 Mar 2012 07:04:21 +0000"  >&lt;p&gt;This Problem is resolve with SQL Server 2008.&lt;/p&gt;

&lt;p&gt;But i have new problem, paging is Error&lt;/p&gt;

&lt;p&gt;&quot;Fatal error: Uncaught exception &apos;PDOException&apos; with message &apos;SQLSTATE&lt;span class=&quot;error&quot;&gt;&amp;#91;42000&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 10.0&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;SQL Server&amp;#93;&lt;/span&gt;The multi-part identifier &quot;c0_.group_company_code&quot; could not be bound.&apos; in C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Connection.php:577 Stack trace: #0 C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Connection.php(577): PDO-&amp;gt;query(&apos;WITH outer_tbl ...&apos;) #1 C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\ORM\Query\Exec\SingleSelectExecutor.php(46): Doctrine\DBAL\Connection-&amp;gt;executeQuery(&apos;WITH outer_tbl ...&apos;, Array, Array) #2 C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\ORM\Query.php(274): Doctrine\ORM\Query\Exec\SingleSelectExecutor-&amp;gt;execute(Object(Doctrine\DBAL\Connection), Array, Array) #3 C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\ORM\AbstractQuery.php(539): Doctrine\ORM\Query-&amp;gt;_doExecute() #4 C:\xampp\htdocs\sqlserver\application\third_party\doctri in C:\xampp\htdocs\sqlserver\application\third_party\doctrine-orm\Doctrine\DBAL\Connection.php on line 577&quot;&lt;/p&gt;

&lt;p&gt;This link &lt;a href=&quot;http://103.28.148.89/sqlserver/index.php/company_group/posts/list_company_group&quot; class=&quot;external-link&quot;&gt;http://103.28.148.89/sqlserver/index.php/company_group/posts/list_company_group&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any body  help...&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                    <comment id="17652" author="stcoid1" created="Sun, 25 Mar 2012 14:03:53 +0000"  >&lt;p&gt;Problem  Resolve&lt;/p&gt;

&lt;p&gt;go into:&lt;br/&gt;
Doctrine\DBAL\Platforms\MsSqlPlatform&lt;/p&gt;

&lt;p&gt;Find:&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;$over = preg_replace(&apos;/\&lt;span class=&quot;code-quote&quot;&gt;&quot;[^,]*\&quot;&lt;/span&gt;.\&lt;span class=&quot;code-quote&quot;&gt;&quot;([^,]*)\&quot;&lt;/span&gt;/i&apos;, &apos;&lt;span class=&quot;code-quote&quot;&gt;&quot;inner_tbl&quot;&lt;/span&gt;.&lt;span class=&quot;code-quote&quot;&gt;&quot;$1&quot;&lt;/span&gt;&apos;, $orderby);&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Add before:&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;                    # Get Columns
                    $columns = array();
                    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;(preg_match_all(&apos;/([a-zA-Z][0-9]+_\.[a-zA-Z0-9\-_]+)\sAS\s([a-zA-Z0-9\-\_]+)/&apos;, $query, $matched)) {
                        &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt;($i=0; $i&amp;lt;count($matched[1]); ++$i)
                        {
                            $columns[$matched[1][$i]] = $matched[2][$i];
                        }
                    }
                    
                    # Replace columns with their alias in the &lt;span class=&quot;code-quote&quot;&gt;&quot;orderby&quot;&lt;/span&gt; statement
                    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;(preg_match_all(&apos;/([a-zA-Z][0-9]+_\.[a-zA-Z0-9\-_]+)\s/i&apos;, $orderby, $matches)) {
                        foreach($matches[1] as $column)
                        {
                            $orderby = preg_replace(&apos;/&apos;.$column.&apos;/&apos;, $columns[$column], $orderby);
                        }
                    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Thanks on issue this link &quot;http://www.doctrine-project.org/jira/browse/DBAL-82?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel&quot;&lt;/p&gt;</comment>
                    <comment id="17927" author="beberlei" created="Sat, 5 May 2012 11:26:20 +0000"  >&lt;p&gt;CAn you post the query that leads to this error? I cant reproduce it with SQL Server 2008&lt;/p&gt;</comment>
                    <comment id="20167" author="beberlei" created="Wed, 1 May 2013 17:27:54 +0000"  >&lt;p&gt;This was fixed in other issues already&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>