<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Thu May 23 03:41:37 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+DDC+AND+fixVersion+%3D+%222.0-RC2%22+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC&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+DDC+AND+fixVersion+%3D+%222.0-RC2%22+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="7" total="7"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-800] Wrong anchor target (404)</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-800</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;There is an wrong anchor target within your ORM reference documentation.&lt;/p&gt;

&lt;p&gt;URL: &lt;a href=&quot;http://www.doctrine-project.org/projects/orm/2.0/docs/reference/annotations-reference/en#ann_changetrackingpolicy&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/projects/orm/2.0/docs/reference/annotations-reference/en#ann_changetrackingpolicy&lt;/a&gt;&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;diff --git a/manual/en/annotations-reference.txt b/manual/en/annotations-reference.txt
index fa15468..fb331d3 100644
--- a/manual/en/annotations-reference.txt
+++ b/manual/en/annotations-reference.txt
@@ -81,7 +81,7 @@ strategy, which means upon flush UnitOfWork compares all the properties of an en
 snapshot. This works out of the box, however you might want to tweak the flush performance where using
 another change tracking policy is an interesting option.
 
-The [details on all the available change tracking policies](/../configuration#change-tracking-policies)
+The [details on all the available change tracking policies](/change-tracking-policies)
 can be found in the configuration section.
 
 Example:
@@ -608,4 +608,4 @@ Example:
      * @column(type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt;)
      * @version
      */
-    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $version;
\ No newline at end of file
+    &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; $version;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I hope this is a valid fix.&lt;/p&gt;</description>
                <environment>Irrelevant</environment>
            <key id="11911">DDC-800</key>
            <summary>Wrong anchor target (404)</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="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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="jpieper">Jan Pieper</reporter>
                        <labels>
                    </labels>
                <created>Sat, 11 Sep 2010 18:14:18 +0000</created>
                <updated>Sun, 12 Dec 2010 07:16:11 +0000</updated>
                    <resolved>Sun, 12 Dec 2010 07:16:11 +0000</resolved>
                                            <fixVersion>2.0-RC2</fixVersion>
                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14960" author="beberlei" created="Sun, 12 Dec 2010 07:16:11 +0000"  >&lt;p&gt;This is fixed in the new docs.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-901] Docs DQL Custom Walkers CountSqlWalker example error</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-901</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Getting invalid SQL when using the CountSqlWalker example in the DQL Custom Walkers docs:&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;SELECT count(DISTINCT z0_.) AS sclr0 FROM ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;From what looks like this part of the example:&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;...
$pathExpression = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; PathExpression(
    PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $parentName, array(
    $parent[&apos;metadata&apos;]-&amp;gt;getSingleIdentifierFieldName())
);
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you move the field name (3rd parameter) out of the array, it seems to work:&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;...
$pathExpression = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; PathExpression(
    PathExpression::TYPE_STATE_FIELD | PathExpression::TYPE_SINGLE_VALUED_ASSOCIATION, $parentName, 
    $parent[&apos;metadata&apos;]-&amp;gt;getSingleIdentifierFieldName()
);
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;SELECT count(DISTINCT z0_.id) AS sclr0 FROM ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="12175">DDC-901</key>
            <summary>Docs DQL Custom Walkers CountSqlWalker example error</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="cgmartin">Chris Martin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Nov 2010 11:49:46 +0000</created>
                <updated>Sun, 12 Dec 2010 07:13:01 +0000</updated>
                    <resolved>Sun, 12 Dec 2010 07:13:01 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.0-RC2</fixVersion>
                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="14959" author="beberlei" created="Sun, 12 Dec 2010 07:13:01 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-918] Remove UnitOfWork-&gt;flush() in Query-&gt;doExecute()</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-918</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;We should remove UnitOfWork-&amp;gt;flush() inside the Query class and document clearly the adverse effects that can happen.&lt;/p&gt;

&lt;p&gt;Its much better peformance wise this way around and people shouldn&apos;t get into trouble.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12207">DDC-918</key>
            <summary>Remove UnitOfWork-&gt;flush() in Query-&gt;doExecute()</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/critical.png">Critical</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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Dec 2010 14:57:48 +0000</created>
                <updated>Fri, 10 Dec 2010 19:05:53 +0000</updated>
                    <resolved>Fri, 10 Dec 2010 19:05:53 +0000</resolved>
                                            <fixVersion>2.0-RC2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14949" author="beberlei" created="Fri, 10 Dec 2010 19:05:53 +0000"  >&lt;p&gt;Changed and noted in the new ReST branch of the docs that will go live before release.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-920]  Undefined index in UnitOfWork when detach entity without flush</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-920</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This code causes undefined index&lt;/p&gt;

&lt;p&gt;$entity  = new  ... // some entity&lt;/p&gt;

&lt;p&gt;$em-&amp;gt;persist($entity);&lt;br/&gt;
$em-&amp;gt;detach($entity); // throw notice Doctrine/ORM/UnitOfWork.php on line 1114&lt;/p&gt;

&lt;p&gt;But this works well&lt;/p&gt;

&lt;p&gt;$entity  = new  ... // some entity&lt;/p&gt;

&lt;p&gt;$em-&amp;gt;persist($entity);&lt;br/&gt;
$em-&amp;gt;flush();&lt;br/&gt;
$em-&amp;gt;detach($entity);&lt;/p&gt;</description>
                <environment></environment>
            <key id="12209">DDC-920</key>
            <summary> Undefined index in UnitOfWork when detach entity without flush</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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="panda">Martin Vidensky</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 Dec 2010 06:53:52 +0000</created>
                <updated>Fri, 10 Dec 2010 15:56:04 +0000</updated>
                    <resolved>Fri, 10 Dec 2010 15:56:04 +0000</resolved>
                            <version>2.0-RC1</version>
                                <fixVersion>2.0-RC2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14946" author="beberlei" created="Fri, 10 Dec 2010 15:56:04 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-925] Breaks with Fixing Identification Variables and SQL Walkers - 2</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-925</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Here is a part from the file with bug code.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;Doctrine/ORM/Query/Parser.php&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unable to find source-code formatter for language: php.&lt;/span&gt; Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml&lt;/div&gt;&lt;pre&gt;
&lt;span class=&quot;code-comment&quot;&gt;// Fix order of identification variables.
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;// They have to appear in the select clause in the same order as the
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;// declarations (from ... x join ... y join ... z ...) appear in the query
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;// as the hydration process relies on that order &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; proper operation.
&lt;/span&gt;&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ( count($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_identVariableExpressions) &amp;gt; 1) {
  foreach ($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_queryComponents as $dqlAlias =&amp;gt; $qComp) {
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (isset($&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_identVariableExpressions[$dqlAlias])) {
      $expr = $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;_identVariableExpressions[$dqlAlias];
      $key = array_search($expr, $AST-&amp;gt;selectClause-&amp;gt;selectExpressions);
      unset($AST-&amp;gt;selectClause-&amp;gt;selectExpressions[$key]);
      $AST-&amp;gt;selectClause-&amp;gt;selectExpressions[] = $expr;
    }
  }
}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;Bug details&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;Doctrine/ORM/Query/Parser.php&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unable to find source-code formatter for language: php.&lt;/span&gt; Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml&lt;/div&gt;&lt;pre&gt;
$key = array_search($expr, $AST-&amp;gt;selectClause-&amp;gt;selectExpressions);
unset($AST-&amp;gt;selectClause-&amp;gt;selectExpressions[$key]);
      
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 

&lt;p&gt;When array_search function return false (no match). &lt;br/&gt;
Then on the next line wrong array element deleted, because (int) false = 0&lt;br/&gt;
}:-[&lt;/p&gt;


</description>
                <environment>Ubuntu</environment>
            <key id="12218">DDC-925</key>
            <summary>Breaks with Fixing Identification Variables and SQL Walkers - 2</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="romanb">Roman S. Borschel</assignee>
                                <reporter username="gektor">gektor</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Dec 2010 10:25:10 +0000</created>
                <updated>Fri, 10 Dec 2010 15:24:38 +0000</updated>
                    <resolved>Fri, 10 Dec 2010 15:24:38 +0000</resolved>
                            <version>2.0-RC1</version>
                                <fixVersion>2.0-RC2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14945" author="beberlei" created="Fri, 10 Dec 2010 15:24:38 +0000"  >&lt;p&gt;Add test, this issue does not appear anymore with the fix for &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-915&quot; title=&quot;Breaks with Fixing Identification Variables and SQL Walkers&quot;&gt;&lt;del&gt;DDC-915&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                <outwardlinks description="relates to">
                            <issuelink>
            <issuekey id="11738">DDC-736</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-915] Breaks with Fixing Identification Variables and SQL Walkers</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-915</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I think that this patch breaks modifying the select clause in custom tree walkers because walking the select clause will be done after the $_identVariableExpressions array is populated. Reordering the identification variables will then override the modifi&lt;/p&gt;</description>
                <environment></environment>
            <key id="12200">DDC-915</key>
            <summary>Breaks with Fixing Identification Variables and SQL Walkers</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="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Dec 2010 10:03:37 +0000</created>
                <updated>Fri, 10 Dec 2010 10:24:27 +0000</updated>
                    <resolved>Wed, 8 Dec 2010 17:42:28 +0000</resolved>
                                            <fixVersion>2.0-RC2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14936" author="beberlei" created="Wed, 8 Dec 2010 17:42:28 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Reference</name>
                                <outwardlinks description="relates to">
                            <issuelink>
            <issuekey id="11738">DDC-736</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-917] using generator strategy AUTO leads to duplicate squences drops (on PostgreSQL) when using inheritance</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-917</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This is the base definition:&lt;br/&gt;
&lt;a href=&quot;https://github.com/knplabs/DoctrineUserBundle/blob/symfony2Security/Resources/config/doctrine/metadata/orm/Bundle.DoctrineUserBundle.Entity.User.dcm.xml&quot; class=&quot;external-link&quot;&gt;https://github.com/knplabs/DoctrineUserBundle/blob/symfony2Security/Resources/config/doctrine/metadata/orm/Bundle.DoctrineUserBundle.Entity.User.dcm.xml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It uses &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;       &amp;lt;id name=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt; type=&lt;span class=&quot;code-quote&quot;&gt;&quot;integer&quot;&lt;/span&gt; column=&lt;span class=&quot;code-quote&quot;&gt;&quot;id&quot;&lt;/span&gt;&amp;gt;
           &amp;lt;generator strategy=&lt;span class=&quot;code-quote&quot;&gt;&quot;AUTO&quot;&lt;/span&gt; /&amp;gt;
       &amp;lt;/id&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This class is inherited 2 times.&lt;br/&gt;
When generating the drop sql it gives the following (note the user_user_like and user_user_interest entities use generator strategy IDENTITY):&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;Soitgoes:foo lsmith$ app/main/console_dev doctrine:schema:drop --dump-sql
DROP SEQUENCE doctrine_user_user_id_seq;
DROP SEQUENCE doctrine_user_user_id_seq;
DROP SEQUENCE doctrine_user_user_id_seq;
DROP SEQUENCE doctrine_user_user_id_seq;
ALTER TABLE user_user_like DROP CONSTRAINT user_user_like_user_id_fkey;
ALTER TABLE user_user_like DROP CONSTRAINT user_user_like_user_like_id_fkey;
ALTER TABLE user_user_interest DROP CONSTRAINT user_user_interest_user_id_fkey;
ALTER TABLE user_user_interest DROP CONSTRAINT user_user_interest_user_interest_id_fkey;
DROP TABLE user_user_like;
DROP TABLE user_user_interest;
DROP TABLE doctrine_user_user;
DROP TABLE user_like;
DROP TABLE user_interest
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Soitgoes:foo lsmith$ app/main/console_dev doctrine:schema:create --dump-sql&lt;br/&gt;
ATTENTION: This operation should not be executed in an production enviroment.&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;CREATE TABLE doctrine_user_user (id INT NOT NULL, username VARCHAR(255) NOT NULL, username_lower VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, is_active BOOLEAN NOT NULL, is_super_admin BOOLEAN NOT NULL, password VARCHAR(255) NOT NULL, algorithm VARCHAR(127) NOT NULL, salt VARCHAR(127) NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, last_login TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, confirmation_token VARCHAR(127) DEFAULT NULL, remember_me_token VARCHAR(127) DEFAULT NULL, firstname VARCHAR(255) NOT NULL, lastname VARCHAR(255) NOT NULL, profile_token VARCHAR(10) NOT NULL, has_accepted_terms BOOLEAN NOT NULL, facebookID VARCHAR(50) DEFAULT NULL, city VARCHAR(255) DEFAULT NULL, gender VARCHAR(1) DEFAULT NULL, age INT DEFAULT NULL, phone_number VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id));
CREATE UNIQUE INDEX doctrine_user_user_username_uniq ON doctrine_user_user (username);
CREATE UNIQUE INDEX doctrine_user_user_username_lower_uniq ON doctrine_user_user (username_lower);
CREATE UNIQUE INDEX doctrine_user_user_email_uniq ON doctrine_user_user (email);
CREATE UNIQUE INDEX doctrine_user_user_facebookID_uniq ON doctrine_user_user (facebookID);
CREATE TABLE user_user_like (user_id INT NOT NULL, user_like_id INT NULL, PRIMARY KEY(user_id, user_like_id));
CREATE INDEX user_user_like_user_like_id_idx ON user_user_like (user_like_id);
CREATE UNIQUE INDEX user_user_like_user_id_uniq ON user_user_like (user_id);
CREATE TABLE user_user_interest (user_id INT NOT NULL, user_interest_id INT NULL, PRIMARY KEY(user_id, user_interest_id));
CREATE INDEX user_user_interest_user_interest_id_idx ON user_user_interest (user_interest_id);
CREATE UNIQUE INDEX user_user_interest_user_id_uniq ON user_user_interest (user_id);
CREATE TABLE user_interest (id SERIAL NOT NULL, name VARCHAR(255) NOT NULL, PRIMARY KEY(id));
CREATE TABLE user_like (id SERIAL NOT NULL, name VARCHAR(255) NOT NULL, PRIMARY KEY(id));
CREATE SEQUENCE doctrine_user_user_id_seq INCREMENT BY 1 MINVALUE 1 START 1;
ALTER TABLE user_user_like ADD FOREIGN KEY (user_id) REFERENCES doctrine_user_user(id) NOT DEFERRABLE INITIALLY IMMEDIATE;
ALTER TABLE user_user_like ADD FOREIGN KEY (user_like_id) REFERENCES user_like(id) NOT DEFERRABLE INITIALLY IMMEDIATE;
ALTER TABLE user_user_interest ADD FOREIGN KEY (user_id) REFERENCES doctrine_user_user(id) NOT DEFERRABLE INITIALLY IMMEDIATE;
ALTER TABLE user_user_interest ADD FOREIGN KEY (user_interest_id) REFERENCES user_interest(id) NOT DEFERRABLE INITIALLY IMMEDIATE
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="12202">DDC-917</key>
            <summary>using generator strategy AUTO leads to duplicate squences drops (on PostgreSQL) when using inheritance</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="lsmith">Lukas Kahwe</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Dec 2010 15:46:08 +0000</created>
                <updated>Wed, 8 Dec 2010 17:38:21 +0000</updated>
                    <resolved>Wed, 8 Dec 2010 17:38:21 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.0-RC2</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14935" author="beberlei" created="Wed, 8 Dec 2010 17:38:21 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>