<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 26 01:18:07 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+resolution+%3D+Unresolved+AND+fixVersion+%3D+%222.4%22+ORDER+BY+priority+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+resolution+%3D+Unresolved+AND+fixVersion+%3D+%222.4%22+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="14" total="14"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DBAL-131] Remove Static Types</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-131</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;the static types should be removed and made to instances of types that can differ between platforms.&lt;/p&gt;

&lt;p&gt;Following reasons:&lt;/p&gt;

&lt;p&gt;1. Some vendors already convert values to PHP types, for example integers. Not converting again could save about 15% wall-time for integers for example.&lt;br/&gt;
2. Some vendors require different type code, this is currently handled by expensive if checks.&lt;br/&gt;
3. If you want to change a type for one vendor but also use another vendor in the same request, then you have a problem currently.&lt;br/&gt;
4. If types were platform aware then we could make registering custom types simpler.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12725">DBAL-131</key>
            <summary>Remove Static Types</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="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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 19 Jun 2011 09:44:21 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                <component>Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-96] Make approach towards identifier quoting consistent</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-96</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;ul&gt;
	&lt;li&gt;Make the use of `` a general approach for explicit quoting of identifiers&lt;/li&gt;
	&lt;li&gt;introduce AbstractPlatform::getRegularSQLIdentifierCase($identifier)&lt;/li&gt;
	&lt;li&gt;Introduce AbstractPlatform::isRegularIdentifier($identifier)&lt;/li&gt;
	&lt;li&gt;Fix Schema Assets not to lower-case, but to check for explicit quoting before.&lt;/li&gt;
	&lt;li&gt;Filter values of identifiers passed to all platform functions when they are used in information schema queries according to `` explicit quoting rules.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Problem: Schema is independent of a vendor, this means we have to pick a behavior, i propose SQL-92&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;http://savage.net.au/SQL/sql-92.bnf&quot; class=&quot;external-link&quot;&gt;http://savage.net.au/SQL/sql-92.bnf&lt;/a&gt; See &amp;lt;actual identifier&amp;gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;http://www.alberton.info/dbms_identifiers_and_case_sensitivity.html&quot; class=&quot;external-link&quot;&gt;http://www.alberton.info/dbms_identifiers_and_case_sensitivity.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This means:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;strtoupper() ALL tables, column, index, foreign key names that are not quoted by ``&lt;/li&gt;
	&lt;li&gt;For any Quoted identifiers by `` the case is kept.&lt;/li&gt;
	&lt;li&gt;We can introduce a validator to detect a schema that cannot be implemented with a given vendor platform.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In conjunction with the SQL reserved keywords tickets we can then improve the DatabaseDriver considerably to detect identifier casings &lt;/p&gt;</description>
                <environment></environment>
            <key id="12431">DBAL-96</key>
            <summary>Make approach towards identifier quoting consistent</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="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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 26 Feb 2011 16:09:43 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                <component>Platforms</component>
                <component>Schema Managers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                            <issuelinks>
                        <issuelinktype id="10000">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="12636">DBAL-120</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                <outwardlinks description="relates to">
                            <issuelink>
            <issuekey id="11857">DBAL-45</issuekey>
        </issuelink>
                    </outwardlinks>
                                                <inwardlinks description="is referenced by">
                            <issuelink>
            <issuekey id="11724">DBAL-40</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-81] Add support for auto-commit = NO accross databases</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-81</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Currently all databases are running in AUTO-COMMIT = Yes Mode. This means that you have to explicitly open a transaction to be able to use transactional features.&lt;/p&gt;

&lt;p&gt;There should be support to run in auto-commit = no mode, which means after connect and after each commit a new transaction is opened automatically.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12276">DBAL-81</key>
            <summary>Add support for auto-commit = NO accross databases</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="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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sun, 2 Jan 2011 05:23:52 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-69] Varchar definition should automatically switch to CLOB for sizes larger than max varchar length.</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-69</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;In the future we would probably allow arbitrary large sizes here and switch to a CLOB definition automatically if the specifed string length is larger than max length.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12168">DBAL-69</key>
            <summary>Varchar definition should automatically switch to CLOB for sizes larger than max varchar length.</summary>
                <type id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/subtask_alternate.png">Sub-task</type>
                    <parent id="12106">DBAL-62</parent>
                        <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>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 27 Nov 2010 13:05:23 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                    <version>2.0.0-RC1-RC3</version>
                                <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-163] Upsert support in DBAL</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-163</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Upsert support in DBAL (replace, insert into usw..)&lt;/p&gt;</description>
                <environment></environment>
            <key id="13010">DBAL-163</key>
            <summary>Upsert support in DBAL</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="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>Sat, 10 Sep 2011 08:46:45 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18077" author="mvrhov" created="Mon, 11 Jun 2012 04:59:12 +0000"  >&lt;p&gt;FYI: &lt;a href=&quot;http://www.depesz.com/2012/06/10/why-is-upsert-so-complicated/&quot; class=&quot;external-link&quot;&gt;http://www.depesz.com/2012/06/10/why-is-upsert-so-complicated/&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-162] BeforeInsertID &amp; AfterInsertID emulation workflow, wie bei MDB2</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-162</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;The following workflow is necessary for portable code to work on all platforms:&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;$nextId = $conn-&amp;gt;nextSequenceId();
$query = &lt;span class=&quot;code-quote&quot;&gt;&quot;INSERT INTO (id) VALUES (?)&quot;&lt;/span&gt;;
$conn-&amp;gt;executeUpdate($query, array($nextId));
$nextId = $conn-&amp;gt;lastInsertId();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13009">DBAL-162</key>
            <summary>BeforeInsertID &amp; AfterInsertID emulation workflow, wie bei MDB2</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="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>Sat, 10 Sep 2011 08:44:07 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                    <version>2.1</version>
                                <fixVersion>2.4</fixVersion>
                                <component>Drivers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-325] [GH-186] Added third an optional argument `types` to use prepared statement</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-325</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 timoshenko:&lt;/p&gt;

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

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

</description>
                <environment></environment>
            <key id="13974">DBAL-325</key>
            <summary>[GH-186] Added third an optional argument `types` to use prepared statement</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="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>Sat, 18 Aug 2012 15:32:27 +0000</created>
                <updated>Wed, 29 Aug 2012 09:04:44 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-225] Add events for onBeginTransaction, onCommit, onCommitFailure</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-225</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Allow to switch a CommitFailure into a successful event.&lt;/p&gt;

&lt;p&gt;This could be done by saving all insert/update/delete statements starting from begin transaction and then replaying them N-times until success is achieved.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13446">DBAL-225</key>
            <summary>Add events for onBeginTransaction, onCommit, onCommitFailure</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>Mon, 13 Feb 2012 17:21:40 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                    <version>2.2</version>
                                <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-221] Schema toSQL() and toDropSQL() both need to delegete creation/drop of schema-level elements</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-221</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;The following schema-level changes have to be done before tables are created:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;create Schema (PGSQL, MySQL, ...)&lt;/li&gt;
	&lt;li&gt;Create Federations (Azure)&lt;/li&gt;
	&lt;li&gt;Create Types (PGSQL, Oracle, ...)&lt;/li&gt;
	&lt;li&gt;Create Views, Stored Procedures, Triggers&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We should add the following APIs:&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;array $sql AbstractPlatform::getCreateSchemaAdditionalStatements(Schema $schema);
$object = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; SQLObject($sqlUpCommand, $sqlDropCommand);
$schema-&amp;gt;addSQLObject($object);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="13440">DBAL-221</key>
            <summary>Schema toSQL() and toDropSQL() both need to delegete creation/drop of schema-level elements</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>Mon, 13 Feb 2012 10:58:49 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-217] Introduction Interface for Connection</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-217</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description></description>
                <environment></environment>
            <key id="13414">DBAL-217</key>
            <summary>Introduction Interface for Connection</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</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>Sun, 5 Feb 2012 10:59:30 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-218] Add Object for BulkInsert Abstraction</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-218</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description></description>
                <environment></environment>
            <key id="13415">DBAL-218</key>
            <summary>Add Object for BulkInsert Abstraction</summary>
                <type id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/task.png">Task</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>Sun, 5 Feb 2012 10:59:58 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-182] Insert and Merge Query Objects</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-182</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;We are missing Insert and Merge Query Objects.&lt;/p&gt;

&lt;p&gt;See Drupal DBTNG:&lt;/p&gt;

&lt;p&gt;Merge: &lt;a href=&quot;http://drupal.org/node/310085&quot; class=&quot;external-link&quot;&gt;http://drupal.org/node/310085&lt;/a&gt;&lt;br/&gt;
Insert: &lt;a href=&quot;http://drupal.org/node/310079&quot; class=&quot;external-link&quot;&gt;http://drupal.org/node/310079&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="13200">DBAL-182</key>
            <summary>Insert and Merge Query Objects</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>Fri, 18 Nov 2011 18:43:15 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="16875" author="beberlei" created="Fri, 18 Nov 2011 19:33:00 +0000"  >&lt;p&gt;From the first glance: Drupal API has some problems in that it assumes literal values are the default, which makes working with them simple if no expression is necessary. But inconsistent otherwise.&lt;/p&gt;

&lt;p&gt;Implementation Details:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Difference compared to QueryBuilder is that these objects are no builders, but actually executors.&lt;/li&gt;
	&lt;li&gt;Don&apos;t assume Literals&lt;/li&gt;
	&lt;li&gt;Creation is delegated to Platform (Runtime API of a Vendor)&lt;/li&gt;
&lt;/ul&gt;


{conn}&lt;br/&gt;
$conn-&amp;gt;createInsertQuery();&lt;br/&gt;
$conn-&amp;gt;createMergeQuery();{conn}

&lt;p&gt;Sample API:&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;$conn-&amp;gt;createInsertQuery($tbl)-&amp;gt;fields(array(&apos;foo&apos;, &apos;bar&apos;))-&amp;gt;values(array(&apos;?&apos;, &apos;?&apos;))-&amp;gt;(array(1, 2))-&amp;gt;execute();
$conn-&amp;gt;createInsertQuery($tbl)-&amp;gt;fields(array(&apos;foo&apos;, &apos;bar&apos;))-&amp;gt;params(array(1, 2))-&amp;gt;execute(); &lt;span class=&quot;code-comment&quot;&gt;// values(?, ?) is implicit.
&lt;/span&gt;$conn-&amp;gt;createInsertQuery($tbl)-&amp;gt;fields(array(&apos;foo&apos;, &apos;bar&apos;))-&amp;gt;params(array(&apos;NOW()&apos;, &apos;1&apos;))-&amp;gt;execute(); &lt;span class=&quot;code-comment&quot;&gt;// &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; no &lt;span class=&quot;code-quote&quot;&gt;&quot;params&quot;&lt;/span&gt; set assume execute once.
&lt;/span&gt;$conn-&amp;gt;createInsertQuery($tbl)-&amp;gt;fields(array(&apos;foo&apos;, &apos;bar&apos;))-&amp;gt;value(&apos;foo&apos;, &apos;NOW())-&amp;gt;params(array(1))-&amp;gt;params(array(2))-&amp;gt;execute();
$conn-&amp;gt;createInsertQuery($tbl)-&amp;gt;fields(array(&apos;foo&apos;, &apos;bar&apos;))-&amp;gt;select($queryBuilder)-&amp;gt;execute();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Merge: I dont know yet:&lt;/p&gt;

&lt;p&gt;problem i see here is that people mistake values() for a &quot;safe&quot; method and pass values in there that should be quoted instead.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-242] Catch and re-throw exceptions with common messages + codes</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-242</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description></description>
                <environment></environment>
            <key id="13555">DBAL-242</key>
            <summary>Catch and re-throw exceptions with common messages + codes</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>Sat, 24 Mar 2012 18:26:36 +0000</created>
                <updated>Thu, 20 Sep 2012 06:19:57 +0000</updated>
                                                    <fixVersion>2.4</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<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>
</channel>
</rss>