<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 19 01:38:40 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+%22Git+Master%22&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+%22Git+Master%22</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="11" total="11"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-2061] Matching Criteria on a PersistentCollection only works on OneToMany associations</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2061</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;What is needed to make it also work for ManyToMany associations?&lt;/p&gt;

&lt;p&gt;May be a better fallback would be do an ArrayCollection-&amp;gt;matching() instead of just giving a runtime exception?&lt;/p&gt;

&lt;p&gt;Is this something that is difficult to implement?&lt;/p&gt;</description>
                <environment></environment>
            <key id="14107">DDC-2061</key>
            <summary>Matching Criteria on a PersistentCollection only works on OneToMany associations</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="terjeb">Terje Br&#229;ten</reporter>
                        <labels>
                        <label>criteria</label>
                        <label>matching</label>
                    </labels>
                <created>Mon, 8 Oct 2012 20:30:35 +0000</created>
                <updated>Mon, 8 Oct 2012 20:32:21 +0000</updated>
                                    <version>Git Master</version>
                                <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>2</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1995] &quot;Query Exception: Invalid parameter number: number of bound variables does not match number of tokens&quot; when using an &quot;Instance Of&quot; expression</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1995</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Similar to &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1848&quot; class=&quot;external-link&quot;&gt;this issue&lt;/a&gt; I think, but triggered when performing a query on entities modelled with Class Table Inheritance, e.g.&lt;/p&gt;

&lt;p&gt;$qb = $repository-&amp;gt;createQueryBuilder(&apos;entity&apos;);&lt;br/&gt;
$metadata = $em-&amp;gt;getClassMetadata($class);&lt;br/&gt;
$qb-&amp;gt;where(&apos;entity INSTANCE OF :type&apos;)-&amp;gt;setParameter(&apos;type&apos;, $metadata);&lt;br/&gt;
$qb-&amp;gt;getQuery()-&amp;gt;execute();&lt;/p&gt;

&lt;p&gt;Seems that there isn&apos;t a corresponding entry in the parameter mapping array for this clause, which triggers the exception at line 254 of Doctrine\ORM\Query:&lt;/p&gt;

&lt;p&gt;if (count($paramMappings) != count($this-&amp;gt;parameters)) &lt;/p&gt;
{
    throw QueryException::invalidParameterNumber();
}</description>
                <environment></environment>
            <key id="13982">DDC-1995</key>
            <summary>&quot;Query Exception: Invalid parameter number: number of bound variables does not match number of tokens&quot; when using an &quot;Instance Of&quot; expression</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="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="guilhermeblanco">Guilherme Blanco</assignee>
                                <reporter username="craigmarvelley">Craig Marvelley</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Aug 2012 14:13:39 +0000</created>
                <updated>Wed, 29 Aug 2012 11:53:15 +0000</updated>
                                    <version>Git Master</version>
                                <fixVersion>Git Master</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18532" author="craigmarvelley" created="Wed, 22 Aug 2012 14:24:48 +0000"  >&lt;p&gt;Pull request with a potential fix: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/429&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/429&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18566" author="beberlei" created="Wed, 29 Aug 2012 11:53:15 +0000"  >&lt;p&gt;Assigned to Guilherme&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1963] Remove by-ref access to changeset in lifecycle event args</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1963</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;UoW currently passes computed changesets to lifecycle event args byref. This has to be changed to force users to use UoW public API to modify changesets instead.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13903">DDC-1963</key>
            <summary>Remove by-ref access to changeset in lifecycle event args</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="ocramius">Marco Pivetta</assignee>
                                <reporter username="ocramius">Marco Pivetta</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Jul 2012 15:45:24 +0000</created>
                <updated>Tue, 31 Jul 2012 15:45:24 +0000</updated>
                                                    <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1933] Problem with parameters when clone Doctrine\ORM\QueryBuilder</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1933</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Hi, here problem with cloning \Doctrine\ORM\QueryBuilder&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;Example&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$queryBuilder = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; QueryBuilder($em);

$queryBuilder-&amp;gt;setParameter(&apos;parameter1&apos;, &apos;value1&apos;);

$copy = clone $queryBuilder;
$copy-&amp;gt;setParameter(&apos;parameter2&apos;, &apos;value2&apos;);


count($queryBuilder-&amp;gt;getParameters()) &lt;span class=&quot;code-comment&quot;&gt;// equals 2
&lt;/span&gt;&lt;span class=&quot;code-comment&quot;&gt;//expects 1
&lt;/span&gt;

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;Solution:&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;QueryBuilder&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function __clone
{
   ......

   $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parameters = clone $&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;-&amp;gt;parameters;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
            <key id="13865">DDC-1933</key>
            <summary>Problem with parameters when clone Doctrine\ORM\QueryBuilder</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="ghennady">Gandzy Ghennady</reporter>
                        <labels>
                    </labels>
                <created>Wed, 18 Jul 2012 11:05:31 +0000</created>
                <updated>Mon, 23 Jul 2012 08:36:42 +0000</updated>
                    <resolved>Mon, 23 Jul 2012 08:36:42 +0000</resolved>
                            <version>2.3</version>
                <version>Git Master</version>
                                <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18328" author="ocramius" created="Wed, 18 Jul 2012 11:18:40 +0000"  >&lt;p&gt;Is `$copy = clone $queryBuilder();` a typo?&lt;/p&gt;</comment>
                    <comment id="18330" author="ghennady" created="Wed, 18 Jul 2012 14:06:22 +0000"  >&lt;p&gt;Sorry, this is a typo, was meant: $copy = clone $queryBuilder;&lt;/p&gt;</comment>
                    <comment id="18351" author="ocramius" created="Fri, 20 Jul 2012 00:12:16 +0000"  >&lt;p&gt;This is being handled at &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1936&quot; title=&quot;[GH-404] DDC-1933 - Fixing cloning of QueryBuilder and adding related tests&quot;&gt;&lt;del&gt;DDC-1936&lt;/del&gt;&lt;/a&gt; (&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/404&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/404&lt;/a&gt;)&lt;/p&gt;</comment>
                    <comment id="18352" author="ghennady" created="Fri, 20 Jul 2012 06:35:28 +0000"  >&lt;p&gt;Hi. Thanks for the quick response.&lt;/p&gt;

&lt;p&gt;I looked at the changes, and have a question: whether you need to reset the parameters when cloning? Thus broken backward compatibility with versions &amp;lt;2.3.&lt;/p&gt;
</comment>
                    <comment id="18357" author="ocramius" created="Fri, 20 Jul 2012 18:10:08 +0000"  >&lt;p&gt;Actually, I just implemented your expected behaviour (see tests), which is compatible with what the `AbstractQuery` does. It can also be done the other way around, waiting for feedback by &lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=beberlei&quot; class=&quot;user-hover&quot; rel=&quot;beberlei&quot;&gt;Benjamin Eberlei&lt;/a&gt; &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="18358" author="ocramius" created="Fri, 20 Jul 2012 18:43:18 +0000"  >&lt;p&gt;Ah, nevermind. You&apos;re right. Will change my code &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1919] Doctrine fails to escape entity with reserved name in various situations</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1919</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;I have submitted a PR here, fixing part of this issue: &lt;a href=&quot;https://github.com/doctrine/dbal/pull/166&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/166&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However, it fails when UPDATE or INSERT is used. I&apos;m using a very simple, and common, entity name: Group. Doctrine is failing to escape this in various situations, causing queries to fail in MySQL due to reserved keywords.&lt;/p&gt;</description>
                <environment>MySQL</environment>
            <key id="13845">DDC-1919</key>
            <summary>Doctrine fails to escape entity with reserved name in various situations</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="klaussilveira">Klaus Silveira</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Jul 2012 21:34:08 +0000</created>
                <updated>Thu, 19 Jul 2012 18:27:21 +0000</updated>
                    <resolved>Wed, 11 Jul 2012 19:28:24 +0000</resolved>
                            <version>2.2</version>
                                <fixVersion>2.3</fixVersion>
                <fixVersion>Git Master</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18274" author="ocramius" created="Wed, 11 Jul 2012 00:31:41 +0000"  >&lt;p&gt;Can you try using the quoting strategy in master? By defining an &apos;@Table(name=&quot;`Group`&quot;)&apos; on your entity you should be able to fix this issue by yourself... Anyway, this is only available in latest master.&lt;br/&gt;
Please give it a try and let us know.&lt;/p&gt;</comment>
                    <comment id="18275" author="klaussilveira" created="Wed, 11 Jul 2012 17:27:34 +0000"  >&lt;p&gt;That hack, of course, fixes the problem. However, Doctrine is failing to escape entities with reserved keywords in various different situations and this should be a major problem, specially since there are many keywords that are common table names. Having to change the table name or escape the table name manually is not the best solution.&lt;/p&gt;

&lt;p&gt;I have look through the code but could not find out why getQuotedTableName() is failing to quote the table name &quot;Group&quot;. I fixed the other problem, involving schema creation, but this one i couldn&apos;t fix. That&apos;s why i&apos;m opening the issue, hoping someone with more experience in the ORM codebase manages to fix it.&lt;/p&gt;</comment>
                    <comment id="18276" author="ocramius" created="Wed, 11 Jul 2012 18:04:26 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=klaussilveira&quot; class=&quot;user-hover&quot; rel=&quot;klaussilveira&quot;&gt;Klaus Silveira&lt;/a&gt;, doctrine won&apos;t quote (at least with the default strategy) a table called &quot;Group&quot;. The default strategy will look for the sorrounding &quot;`&quot; (&quot;`Group`&quot;).&lt;br/&gt;
Is it still failing to quote something in latest master? Can you write a simple example of a failure you are getting?&lt;/p&gt;</comment>
                    <comment id="18277" author="klaussilveira" created="Wed, 11 Jul 2012 18:12:48 +0000"  >&lt;p&gt;The failure is caused when querying anything related to an entity wich it&apos;s name is a reserved keyword, for example, an entity called &quot;Group&quot;. I expected Doctrine to quote such table names. &lt;/p&gt;</comment>
                    <comment id="18278" author="ocramius" created="Wed, 11 Jul 2012 18:41:26 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=klaussilveira&quot; class=&quot;user-hover&quot; rel=&quot;klaussilveira&quot;&gt;Klaus Silveira&lt;/a&gt; did you put an @Table(name=&quot;`Group`&quot;) in it?&lt;/p&gt;</comment>
                    <comment id="18279" author="ocramius" created="Wed, 11 Jul 2012 18:48:04 +0000"  >&lt;p&gt;Please note that &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;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;@Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;Group&quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; and &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;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;@Table(name=&lt;span class=&quot;code-quote&quot;&gt;&quot;`Group`&quot;&lt;/span&gt;)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; are quite different. That&apos;s why I&apos;m asking&lt;/p&gt;</comment>
                    <comment id="18280" author="klaussilveira" created="Wed, 11 Jul 2012 19:00:52 +0000"  >&lt;p&gt;As i said, that hack fixes the problem. But i don&apos;t believe that having to change the table name or escape the table name manually is the best solution. Doctrine should be doing that transparently, as it does for other situations (such as during schema creation). Why not during all other operations? Makes no sense at all.&lt;/p&gt;</comment>
                    <comment id="18281" author="ocramius" created="Wed, 11 Jul 2012 19:22:07 +0000"  >&lt;p&gt;This is not a hack... In ORM, &quot;`&quot; is not the MySQL identifier quote. It is exactly thought as a character with which you tell the ORM that the identifier should be quoted.&lt;br/&gt;
The default strategy does make use of it, so please use it.&lt;/p&gt;</comment>
                    <comment id="18282" author="ocramius" created="Wed, 11 Jul 2012 19:27:29 +0000"  >&lt;p&gt;Also, we won&apos;t collect the SQL reserved keywords, nor we can know what keywords are used in all vendors. The patch for the quoting strategy was exactly thought to allow end users to use insecure names for their objects/fields/indexes/etc but without having the ORM implement those checks for them (since it would just be messy and too &quot;magic&quot;).&lt;/p&gt;

&lt;p&gt;Please also reconsider your pull request on github too ( &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-298&quot; title=&quot;[GH-166] Fixes a bug caused by unquoted reserved table name being referenced during schema creation&quot;&gt;&lt;del&gt;DBAL-298&lt;/del&gt;&lt;/a&gt; ).&lt;/p&gt;

&lt;p&gt;I&apos;m closing this one&lt;/p&gt;</comment>
                    <comment id="18283" author="klaussilveira" created="Wed, 11 Jul 2012 19:32:14 +0000"  >&lt;p&gt;Then what&apos;s the purpose of Doctrine\DBAL\Platforms\Keywords\MySQLKeywords?&lt;/p&gt;</comment>
                    <comment id="18284" author="ocramius" created="Wed, 11 Jul 2012 19:38:58 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=klaussilveira&quot; class=&quot;user-hover&quot; rel=&quot;klaussilveira&quot;&gt;Klaus Silveira&lt;/a&gt; not sure, but it isn&apos;t used in ORM.&lt;/p&gt;</comment>
                    <comment id="18339" author="beberlei" created="Thu, 19 Jul 2012 18:27:21 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-166&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/166&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/166&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1918] Paginator gives strange results in the end of the resultset</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1918</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Hello,&lt;br/&gt;
i&apos;ve an image and a tag entities, image has a one to many with tags. I was using limit and offset and it was giving 7 images instead of 9 (limit is set to 9) due one image has 3 tags. So i started using paginator to resolve the join-fetch issue. It worked fine at the beginning of the resultset, the problem is at the end (i have 29 images), when i increase the offset.&lt;br/&gt;
These are the last 3 calls:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;offset 27, distinct query is:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;SELECT DISTINCT i0_.id AS id0, i0_.creation_time AS creation_time1 FROM Image i0_ LEFT JOIN Tag t1_ ON i0_.id = t1_.image WHERE i0_.owner = 1 ORDER BY i0_.creation_time DESC LIMIT 9 OFFSET 27&lt;/p&gt;

&lt;p&gt;   it returns 2 images, correct, so the final query is&lt;/p&gt;


&lt;p&gt;SELECT i0_.id AS id0, i0_.name AS name1, i0_.status AS status2, i0_.last_processing AS last_processing3, i0_.creation_time AS creation_time4, i0_.height AS height5, i0_.width AS width6, i0_.layers AS layers7, i0_.foldersize AS foldersize8, i0_.sourcesize AS sourcesize9, i0_.title AS title10, i0_.description AS description11, i0_.originalUrl AS originalUrl12, i0_.private AS private13, i0_.watermark AS watermark14, i0_.favorite AS favorite15, t1_.id AS id16, t1_.tag AS tag17, i0_.owner AS owner18, t1_.image AS image19 FROM Image i0_ LEFT JOIN Tag t1_ ON i0_.id = t1_.image WHERE i0_.owner = 1 AND i0_.id IN (?, ?) ORDER BY i0_.creation_time DESC&lt;/p&gt;

&lt;p&gt;   with parameters the 2 images id, still correct.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;offset 29, distinct query is:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;SELECT DISTINCT i0_.id AS id0, i0_.creation_time AS creation_time1 FROM Image i0_ LEFT JOIN Tag t1_ ON i0_.id = t1_.image WHERE i0_.owner = 1 ORDER BY i0_.creation_time DESC LIMIT 9 OFFSET 29&lt;/p&gt;

&lt;p&gt;   which doesn&apos;t get any result, but it still goes on querying without id filter:&lt;/p&gt;


&lt;p&gt;SELECT i0_.id AS id0, i0_.name AS name1, i0_.status AS status2, i0_.last_processing AS last_processing3, i0_.creation_time AS creation_time4, i0_.height AS height5, i0_.width AS width6, i0_.layers AS layers7, i0_.foldersize AS foldersize8, i0_.sourcesize AS sourcesize9, i0_.title AS title10, i0_.description AS description11, i0_.originalUrl AS originalUrl12, i0_.private AS private13, i0_.watermark AS watermark14, i0_.favorite AS favorite15, t1_.id AS id16, t1_.tag AS tag17, i0_.owner AS owner18, t1_.image AS image19 FROM Image i0_ LEFT JOIN Tag t1_ ON i0_.id = t1_.image WHERE i0_.owner = 1 ORDER BY i0_.creation_time DESC LIMIT 9 OFFSET 29&lt;/p&gt;

&lt;p&gt;and it gets the last 2 images maybe due the fetch join like as i&apos;m not using paginator.&lt;/p&gt;</description>
                <environment>Mac OSX MAMP (apache + php 5.3.6 + mysql 5)</environment>
            <key id="13843">DDC-1918</key>
            <summary>Paginator gives strange results in the end of the resultset</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="alex88">Alessandro Tagliapietra</reporter>
                        <labels>
                        <label>paginator</label>
                    </labels>
                <created>Tue, 10 Jul 2012 13:27:13 +0000</created>
                <updated>Wed, 29 Aug 2012 16:24:13 +0000</updated>
                    <resolved>Wed, 29 Aug 2012 16:24:13 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>Git Master</fixVersion>
                                <component>DQL</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="18517" author="alex88" created="Wed, 15 Aug 2012 12:12:50 +0000"  >&lt;p&gt;No updates?&lt;/p&gt;</comment>
                    <comment id="18518" author="beberlei" created="Wed, 15 Aug 2012 12:58:45 +0000"  >&lt;p&gt;Sorry I am swamped with work at the moment and other important projects, I couldnt look into it yet.&lt;/p&gt;</comment>
                    <comment id="18544" author="alex88" created="Mon, 27 Aug 2012 08:58:31 +0000"  >&lt;p&gt;Commenting the if this part:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;&quot;&gt;&lt;b&gt;Paginator.php&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
            &lt;span class=&quot;code-comment&quot;&gt;// don&apos;t &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; an empty id array
&lt;/span&gt;            &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (count($ids) &amp;gt; 0) {
&lt;/span&gt;                $namespace = WhereInWalker::PAGINATOR_ID_ALIAS;

                $whereInQuery-&amp;gt;setHint(Query::HINT_CUSTOM_TREE_WALKERS, array(&apos;Doctrine\ORM\Tools\Pagination\WhereInWalker&apos;));
                $whereInQuery-&amp;gt;setHint(WhereInWalker::HINT_PAGINATOR_ID_COUNT, count($ids));
                $whereInQuery-&amp;gt;setFirstResult(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)-&amp;gt;setMaxResults(&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;);
                foreach ($ids as $i =&amp;gt; $id) {
                    $i++;
                    $whereInQuery-&amp;gt;setParameter(&lt;span class=&quot;code-quote&quot;&gt;&quot;{$namespace}_{$i}&quot;&lt;/span&gt;, $id);
                }
            &lt;span class=&quot;code-comment&quot;&gt;//}&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;make it works, for me is better, because if you don&apos;t have results to show as the result of the select distinct is empty you shouldn&apos;t have any result at all. Because if you don&apos;t add the &quot;WHERE IN&quot; query you get the results joined with no difference between using or not the paginator.&lt;/p&gt;</comment>
                    <comment id="18562" author="beberlei" created="Wed, 29 Aug 2012 11:34:57 +0000"  >&lt;p&gt;This is weird, an empty IN() normally produces an error. We could add a non matching condition instead,  like 0 = 1.&lt;/p&gt;</comment>
                    <comment id="18574" author="alex88" created="Wed, 29 Aug 2012 12:58:02 +0000"  >&lt;p&gt;Not really, in my case (mysql) it creates the following query:&lt;/p&gt;

&lt;p&gt;SELECT i0_.id AS id0, i0_.name AS name1, i0_.status AS status2, i0_.last_processing AS last_processing3, i0_.creation_time AS creation_time4, i0_.height AS height5, i0_.width AS width6, i0_.layers AS layers7, i0_.foldersize AS foldersize8, i0_.sourcesize AS sourcesize9, i0_.title AS title10, i0_.description AS description11, i0_.originalUrl AS originalUrl12, i0_.private AS private13, i0_.watermark AS watermark14, i0_.favorite AS favorite15, t1_.id AS id16, t1_.tag AS tag17, i0_.owner AS owner18, t1_.image AS image19 FROM Image i0_ LEFT JOIN Tag t1_ ON i0_.id = t1_.image WHERE i0_.owner = 1 AND i0_.id IS NULL ORDER BY i0_.creation_time DESC&lt;/p&gt;

&lt;p&gt;so it sets &quot;AND i0_.id IS NULL&quot; which solves the problem, the best solution for me is to directly return an empty set if the DISTINCT gives no results.&lt;/p&gt;</comment>
                    <comment id="18579" author="alex88" created="Wed, 29 Aug 2012 16:24:13 +0000"  >&lt;p&gt;Solved with commit bc2476f342ceda98559b87a314806581cf969796&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1852] Doctrine\ORM\Tools\SchemaValidator should check validity of lifecycle callbacks</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1852</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;The schema validator should analyze mapped lifecycle callbacks and:&lt;/p&gt;

&lt;p&gt; a) if some lifecycle callbacks were defined, but no @HasLifecycleCallbacks annotation/mapping was set, warn the user&lt;br/&gt;
 b) if some lifecycle callbacks were defined, but methods are not public, warn the user&lt;/p&gt;</description>
                <environment></environment>
            <key id="13752">DDC-1852</key>
            <summary>Doctrine\ORM\Tools\SchemaValidator should check validity of lifecycle callbacks</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="ocramius">Marco Pivetta</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Jun 2012 09:47:12 +0000</created>
                <updated>Thu, 20 Sep 2012 06:20:48 +0000</updated>
                                    <version>Git Master</version>
                                <fixVersion>2.4</fixVersion>
                <fixVersion>2.x</fixVersion>
                <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="18038" author="ocramius" created="Mon, 4 Jun 2012 22:25:23 +0000"  >&lt;p&gt;Existing PR at &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/361&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/361&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1711] [GH-306] by r1pp3rj4ck: Fixed fetch mapping in xsd</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1711</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;This issue is created automatically through a Github pull request on behalf of r1pp3rj4ck:&lt;/p&gt;

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

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

&lt;p&gt;It was &apos;EXTRALAZY&apos; and the constant name in ClassMetadata is &apos;EXTRA_LAZY&apos;.&lt;/p&gt;

&lt;p&gt;It&apos;s really annoying that my IDE says it&apos;s a wrong attribute.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13535">DDC-1711</key>
            <summary>[GH-306] by r1pp3rj4ck: Fixed fetch mapping in xsd</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="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10000">All</security>
                        <assignee username="asm89">Alexander</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 16 Mar 2012 16:01:02 +0000</created>
                <updated>Sun, 18 Mar 2012 22:02:38 +0000</updated>
                    <resolved>Sun, 18 Mar 2012 22:02:38 +0000</resolved>
                                            <fixVersion>Git Master</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17620" author="asm89" created="Sun, 18 Mar 2012 22:02:38 +0000"  >&lt;p&gt;Merged: &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/1b2b831febb780d8153bc4f8684baa763dd8f177&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/1b2b831febb780d8153bc4f8684baa763dd8f177&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1505] EntityManager-&gt;find returning null for entity on the inverse side of a OneToOne association </title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1505</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;BasicEntityPersister.getJoinSQLForJoinColumns treats joinColumn nullable setting as defaulting to false:&lt;/p&gt;

&lt;p&gt;             if(isset($joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;) &amp;amp;&amp;amp; $joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;)&lt;/p&gt;
{
                 return &apos;LEFT JOIN&apos;;
             }&lt;br/&gt;
&lt;br/&gt;
I think it should be:&lt;br/&gt;
&lt;br/&gt;
             if(!isset($joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;) || $joinColumn&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;nullable&amp;#39;&amp;#93;&lt;/span&gt;){                 return &apos;LEFT JOIN&apos;;             }</description>
                <environment></environment>
            <key id="13210">DDC-1505</key>
            <summary>EntityManager-&gt;find returning null for entity on the inverse side of a OneToOne association </summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</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>
                                <assignee username="asm89">Alexander</assignee>
                                <reporter username="chrisrichard">Chris Richard</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Nov 2011 02:57:57 +0000</created>
                <updated>Sun, 18 Dec 2011 21:19:50 +0000</updated>
                    <resolved>Sun, 18 Dec 2011 21:19:50 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.x</fixVersion>
                <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="17004" author="beberlei" created="Thu, 15 Dec 2011 22:07:43 +0000"  >&lt;p&gt;Assigned to asm&lt;/p&gt;</comment>
                    <comment id="17030" author="beberlei" created="Sun, 18 Dec 2011 20:35:04 +0000"  >&lt;p&gt;This issue is referenced in Github Pull-Request GH-226&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17031" author="asm89" created="Sun, 18 Dec 2011 20:35:14 +0000"  >&lt;p&gt;Should be fixed as soon as this is pulled:&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="17032" author="beberlei" created="Sun, 18 Dec 2011 21:00:04 +0000"  >&lt;p&gt;Related Pull Request was closed: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/226&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/226&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-985] [PATCH] Fix attempt to get column by class property name</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-985</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;PULL REQUEST: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/27&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/27&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After upgrading from a Doctrine 2.0 RC to final version, I noticed a failure when using doctrine orm:schema:create:&lt;/p&gt;

&lt;p&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;Doctrine\DBAL\Schema\SchemaException&amp;#93;&lt;/span&gt;                 &lt;br/&gt;
  There is no column with name &apos;_id&apos; on table &apos;subuser&apos;.&lt;/p&gt;

&lt;p&gt;Since this worked before the upgrade, I investigated and found a new line of code that was attempting to get a column using the class identifier property name (_id) rather than the mapped column name (user_id). Please see patch.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12300">DDC-985</key>
            <summary>[PATCH] Fix attempt to get column by class property name</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="3">Duplicate</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="dmdeller">David Deller</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Jan 2011 17:20:25 +0000</created>
                <updated>Sun, 23 Jan 2011 14:31:54 +0000</updated>
                    <resolved>Sun, 23 Jan 2011 14:31:54 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>Git Master</fixVersion>
                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15174" author="beberlei" created="Sun, 23 Jan 2011 14:31:54 +0000"  >&lt;p&gt;This is a duplicate of a previous issue and is fixed in master.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-904] No identifier/primary key specified for Entity with inheritance</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-904</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I think i found a little bug with doctrine and the inheritance on differente Symfony2 Bundle.&lt;/p&gt;

&lt;p&gt;Here is the pb :&lt;/p&gt;

&lt;p&gt;I use the DoctrineUserBundle (&lt;a href=&quot;https://github.com/knplabs/DoctrineUserBundle&quot; class=&quot;external-link&quot;&gt;https://github.com/knplabs/DoctrineUserBundle&lt;/a&gt;) for one of my testing application, it&apos;s provide a nice way to handle user and session management trough a Symfony2 app.&lt;/p&gt;

&lt;p&gt;I create an DoctrineUserBundle in my own Application Folder and I create an User sub class that inherit the User base class in the bundle with the annotation way.&lt;br/&gt;
When I run the doctrine:generate:entities command it&apos;s telling me:&lt;/p&gt;

&lt;p&gt;No identifier/primary key specified for Entity &apos;Application\DoctrineUserBundle\Entity\User&apos;. Every Entity must have an identifier/primary key.&lt;/p&gt;

&lt;p&gt;But the User (base class of DoctrineUserBundle) has a primary key but with the xml way.&lt;/p&gt;

&lt;p&gt;Do you think it&apos;s a bug ?&lt;/p&gt;

&lt;p&gt;Thanks a lot &lt;/p&gt;</description>
                <environment>Mac, MySQL, PHP 5.3.3</environment>
            <key id="12179">DDC-904</key>
            <summary>No identifier/primary key specified for Entity with 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="6">Invalid</resolution>
                    <security id="10000">All</security>
                        <assignee username="romanb">Roman S. Borschel</assignee>
                                <reporter username="dator">Cl&#233;ment JOBEILI</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Dec 2010 07:00:00 +0000</created>
                <updated>Wed, 5 Jan 2011 03:20:11 +0000</updated>
                    <resolved>Thu, 30 Dec 2010 17:32:18 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>Git Master</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="14876" author="beberlei" created="Wed, 1 Dec 2010 08:28:42 +0000"  >&lt;p&gt;Now i get it. This is not a bug.&lt;/p&gt;

&lt;p&gt;You cannot mix mappings from annotations and xml to define a single entity mapping. Its not possible.&lt;/p&gt;</comment>
                    <comment id="14877" author="beberlei" created="Wed, 1 Dec 2010 08:29:25 +0000"  >&lt;p&gt;One Solution would be to add annotations to the User bae class. That would have to be on the DoctrineUserBundle then.&lt;/p&gt;</comment>
                    <comment id="14878" author="dator" created="Wed, 1 Dec 2010 08:37:58 +0000"  >&lt;p&gt;Ok ! Thanks but one thing is that the creator of this bundle (ornicar) has created a website called lichess.org and use DoctrineUserBundle.&lt;/p&gt;

&lt;p&gt;In this app, he created a User.php sub classing the Base User of DoctrineUserBundle and he used annotations but with mongodb &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/ornicar/lichess/blob/master/src/Application/DoctrineUserBundle/Document/User.php&quot; class=&quot;external-link&quot;&gt;https://github.com/ornicar/lichess/blob/master/src/Application/DoctrineUserBundle/Document/User.php&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How it&apos;s possible that it works with ODM and not with ORM ? &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;THanks a lot for your time &lt;img class=&quot;emoticon&quot; src=&quot;http://www.doctrine-project.org/jira/images/icons/emoticons/smile.gif&quot; height=&quot;20&quot; width=&quot;20&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                    <comment id="14888" author="beberlei" created="Thu, 2 Dec 2010 09:59:24 +0000"  >&lt;p&gt;Hm maybe its a bug with mapped superclasses. I thought Ornicar did a little hack there regarding mixing.&lt;/p&gt;

&lt;p&gt;But in general ORM != ODM.&lt;/p&gt;</comment>
                    <comment id="15072" author="beberlei" created="Thu, 30 Dec 2010 17:32:18 +0000"  >&lt;p&gt;That bug happens when the Doctrine UserBundle is not detected correctly.&lt;/p&gt;

&lt;p&gt;It should be fixed with the current Symfony2 state of code.&lt;/p&gt;</comment>
                    <comment id="15106" author="jackbravo" created="Tue, 4 Jan 2011 18:48:43 +0000"  >&lt;p&gt;So now we are able to mix mappings or something else was fixed.&lt;/p&gt;

&lt;p&gt;Because right now I&apos;m getting the same error using latest symfony-sandbox code.&lt;/p&gt;</comment>
                    <comment id="15108" author="beberlei" created="Wed, 5 Jan 2011 03:20:11 +0000"  >&lt;p&gt;read the master docs of symfony2 please, there was a change in configuration:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://docs.symfony-reloaded.org/master/guides/doctrine/orm/overview.html&quot; class=&quot;external-link&quot;&gt;http://docs.symfony-reloaded.org/master/guides/doctrine/orm/overview.html&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>