<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 25 15:27:30 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+10040+AND+labels+%3D+oci8&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+10040+AND+labels+%3D+oci8</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="2" total="2"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DBAL-444] OraclePlatform getSequenceNextValSQL not handling case/quoting properly on 11g</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-444</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;I have an installer script that uses ORM SchemaTool to create the entities in the DB and then populates with basic data using basic EM-&amp;gt;persist calls via ORM.&lt;/p&gt;

&lt;p&gt;Sequence objects are created, and when using the 10g Instant Client everything worked correctly, however, upon upgrade to latest version of the Instant Client Oracle seems to be expecting consistent case for these schema objects. It appears as if they are being created with a quoted name as they are created in lowercase. OraclePlatform::getSequenceNextValSQL, however, generates &quot;SELECT entity_id_seq.nextval FROM DUAL&quot; and this fails with error &quot;General error: 2289 OCIStmtExecute: ORA-02289: sequence does not exist&quot;.&lt;/p&gt;

&lt;p&gt;Executing &quot;SELECT &quot;entity_id_seq&quot;.nextval FROM DUAL&quot; directly on the DB returns the correct value.&lt;/p&gt;

&lt;p&gt;I believe this may also impact the code in &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-278&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/jira/browse/DBAL-278&lt;/a&gt;&lt;/p&gt;</description>
                <environment>PHP version 5.4.11&lt;br/&gt;
Oracle 11g Instant Client version 11.2.0.3.0&lt;br/&gt;
Oracle Database 11g Enterprise Edition version 11.2.0.3.0 (x64)&lt;br/&gt;
OCI8 DBAL driver</environment>
            <key id="14474">DBAL-444</key>
            <summary>OraclePlatform getSequenceNextValSQL not handling case/quoting properly on 11g</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="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="maxmilaney">Max Milaney</reporter>
                        <labels>
                        <label>oci8</label>
                        <label>oracle</label>
                        <label>sequence</label>
                    </labels>
                <created>Sun, 10 Feb 2013 23:13:00 +0000</created>
                <updated>Thu, 4 Apr 2013 21:22:17 +0000</updated>
                                    <version>2.3.2</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19819" author="maxmilaney" created="Sun, 10 Mar 2013 05:06:49 +0000"  >&lt;p&gt;Hi there,&lt;br/&gt;
Wondering if there is any update on this? I&apos;m having to use a workaround in my applications.&lt;br/&gt;
Cheers,&lt;br/&gt;
Max&lt;/p&gt;</comment>
                    <comment id="19853" author="beberlei" created="Thu, 14 Mar 2013 20:54:52 +0000"  >&lt;p&gt;Can you maybe show an entity definition with its sequence mapping?&lt;/p&gt;</comment>
                    <comment id="19872" author="maxmilaney" created="Sun, 17 Mar 2013 21:05:36 +0000"  >&lt;p&gt;Here you are mate. Please see attachment.&lt;/p&gt;</comment>
                    <comment id="19941" author="beberlei" created="Thu, 4 Apr 2013 21:22:17 +0000"  >&lt;p&gt;I cant seem to find the problem, in DBAL &quot;lib/Doctrine/DBAL/Platforms/OraclePlatform.php&quot; on line 171, the sequence statement is created with $sequence-&amp;gt;getQuotedName($platform), but this only works if quoting is requrested for the sequence.&lt;/p&gt;

&lt;p&gt;How do you actually create the sequence? Your entity doesnt have @GeneratedValue.&lt;/p&gt;

&lt;p&gt;What does the create schema command say with &quot;--dump-sql&quot; flag? Is the SQL quoted?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11512" name="example.php" size="1001" author="maxmilaney" created="Sun, 17 Mar 2013 21:05:36 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-375] Warning &quot;Udefined index dbname&quot; while creating database with oci8 driver</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-375</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;In config specified:&lt;/p&gt;

&lt;p&gt;doctrine:&lt;br/&gt;
    dbal:&lt;br/&gt;
        driver:   &quot;oci8&quot;&lt;br/&gt;
        host:     &quot;localhost&quot;&lt;br/&gt;
        port:     &quot;1521&quot;&lt;br/&gt;
        dbname:   &quot;orcl50&quot;&lt;br/&gt;
        user:     &quot;SYSTEM&quot;&lt;br/&gt;
        password: &quot;123456&quot;&lt;br/&gt;
        charset:  UTF8&lt;/p&gt;

&lt;p&gt;When i create database (with symfony 2, doctrine:database:create), got that error:&lt;/p&gt;

&lt;p&gt;=====================================&lt;br/&gt;
Could not create database for connection named orcl50&lt;br/&gt;
Notice: Undefined index: dbname in /path/to/symfony/vendor/doctrine-dbal/lib/Doctrine/DBAL/Driver/OCI8/Driver.php line 67&lt;br/&gt;
=====================================&lt;/p&gt;

&lt;p&gt;If i comment &quot;unset($params&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;dbname&amp;#39;&amp;#93;&lt;/span&gt;)&quot; in CreateDatabaseDoctrineCommand.php:54 all works fine.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14178">DBAL-375</key>
            <summary>Warning &quot;Udefined index dbname&quot; while creating database with oci8 driver</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="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="pavelpat">pavel patrin</reporter>
                        <labels>
                        <label>dbname</label>
                        <label>oci8</label>
                    </labels>
                <created>Wed, 31 Oct 2012 11:02:32 +0000</created>
                <updated>Sat, 20 Apr 2013 08:48:22 +0000</updated>
                                    <version>2.2.2</version>
                <version>2.3.1</version>
                                                <component>Drivers</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18976" author="krisw" created="Tue, 13 Nov 2012 11:19:10 +0000"  >&lt;p&gt;I&apos;m experiencing the same issue and your fix appears to work for me too; thanks!&lt;/p&gt;</comment>
                    <comment id="20075" author="beberlei" created="Sat, 20 Apr 2013 08:48:22 +0000"  >&lt;p&gt;on Oracle CREATE DATABASE is actually a CREATE USER. I am not sure the command should allow to do this.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>