<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sat May 18 15:05:20 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+resolution+%3D+Unresolved+AND+assignee+%3D+jwage+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+DDC+AND+resolution+%3D+Unresolved+AND+assignee+%3D+jwage+ORDER+BY+priority+DESC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="6" total="6"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DDC-947] Optmize Code-Generation Strategies</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-947</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;We should optimize code-generation somehow.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12251">DDC-947</key>
            <summary>Optmize Code-Generation Strategies</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Dec 2010 06:22:17 +0000</created>
                <updated>Tue, 29 Mar 2011 14:38:48 +0000</updated>
                                                    <fixVersion>2.x</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="15630" author="beberlei" created="Tue, 29 Mar 2011 14:38:48 +0000"  >&lt;p&gt;Descheduled to 2.x&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-896] Use PDepend for Code-Generation</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-896</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Our current code-generation tool has many shortcomings and due to its hard to test nature also many (known and unknown) bugs, as well as high maintenance.&lt;/p&gt;

&lt;p&gt;Since people are overusing this tool and I am sort of annoyed by how much time goes into this we should rewrite this in a two-step procedure:&lt;/p&gt;

&lt;p&gt;1. Move code into Common so we can share it between ORM, Mongo and CouchDB.&lt;br/&gt;
2. Use PDepend to read an entities source file (it generates an AST) and modify the AST with the required changes.&lt;/p&gt;

&lt;p&gt;This gives us the advantage of having to maintaining less code for this stuff.&lt;/p&gt;</description>
                <environment></environment>
            <key id="12169">DDC-896</key>
            <summary>Use PDepend for Code-Generation</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="beberlei">Benjamin Eberlei</reporter>
                        <labels>
                    </labels>
                <created>Sat, 27 Nov 2010 13:51:06 +0000</created>
                <updated>Sat, 27 Nov 2010 13:51:19 +0000</updated>
                                                    <fixVersion>2.x</fixVersion>
                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-585] Create a coding standards document</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-585</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;We need a new coding standards document for Doctrine 2.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11353">DDC-585</key>
            <summary>Create a coding standards document</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="jwage">Jonathan H. Wage</assignee>
                                <reporter username="romanb">Roman S. Borschel</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 May 2010 06:42:33 +0000</created>
                <updated>Mon, 11 Feb 2013 17:04:20 +0000</updated>
                                                    <fixVersion>2.0</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19435" author="benjamin" created="Tue, 29 Jan 2013 13:12:04 +0000"  >&lt;p&gt;Has there been any work on a coding standards document yet?&lt;br/&gt;
I&apos;m currently working on fixing documentation on this project, and it might be a good time to define a standard.&lt;br/&gt;
I&apos;ve started compiling a few recommendations based on various feedbacks I&apos;ve got in my pull requests, and I can post them here.&lt;br/&gt;
Please let me know if there have been previous attempts so far!&lt;/p&gt;</comment>
                    <comment id="19436" author="ocramius" created="Tue, 29 Jan 2013 13:20:58 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=benjamin&quot; class=&quot;user-hover&quot; rel=&quot;benjamin&quot;&gt;Benjamin Morel&lt;/a&gt; &lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=guiblanco&quot; class=&quot;user-hover&quot; rel=&quot;guiblanco&quot;&gt;Guilherme Blanco&lt;/a&gt; may have a CS ruleset, but it&apos;s not ready yet. Perfect timing btw, we really need to automate this to avoid having all these useless CS fix comments in pull requests&lt;/p&gt;</comment>
                    <comment id="19437" author="benjamin" created="Tue, 29 Jan 2013 14:00:43 +0000"  >&lt;p&gt;Ok, I&apos;ll post my document here once ready, and &lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=guiblanco&quot; class=&quot;user-hover&quot; rel=&quot;guiblanco&quot;&gt;Guilherme Blanco&lt;/a&gt; will be able to compare it with his ruleset!&lt;/p&gt;</comment>
                    <comment id="19443" author="benjamin" created="Wed, 30 Jan 2013 20:35:35 +0000"  >&lt;p&gt;Here is a first draft: &lt;a href=&quot;https://gist.github.com/4676670&quot; class=&quot;external-link&quot;&gt;https://gist.github.com/4676670&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please comment!&lt;/p&gt;</comment>
                    <comment id="19531" author="benjamin" created="Mon, 11 Feb 2013 17:03:41 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=guiblanco&quot; class=&quot;user-hover&quot; rel=&quot;guiblanco&quot;&gt;Guilherme Blanco&lt;/a&gt;, if you don&apos;t have time to compare your ruleset with my draft, maybe you could publish your current ruleset so that others can have a look?&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-1248] Documentation regarding prePersist and postPersist events a bit lacking</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1248</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Please make it more clear that prePersist and postPersist events are called only when creating new entity (that is, prior and after a database insert).&lt;/p&gt;

&lt;p&gt;IRC log:&lt;br/&gt;
helmer&lt;br/&gt;
  Hi. I have a question regarding (pre|post)persist events. Why are the events ignored for second persist (should fire prePersist) + flush (should fire postPersist) in the following pastie: &lt;a href=&quot;http://pastebin.com/V8CrPWkM&quot; class=&quot;external-link&quot;&gt;http://pastebin.com/V8CrPWkM&lt;/a&gt; Is it a bug or am I missing sth?&lt;br/&gt;
Stof&lt;br/&gt;
  helmer: there is no second persist. persist() means saying Doctrine to manage the entity. Once it is managed, you are not persisting it anymore but updating it&lt;br/&gt;
helmer&lt;br/&gt;
  Stof: so basically one could define these two events for themselves as (pre|post)Insert?&lt;br/&gt;
beberlei&lt;br/&gt;
  yes&lt;br/&gt;
helmer&lt;br/&gt;
  thanks beberlei&amp;amp;stof! though a suggestion to docteam .. perhaps make it more clear to people like me, current doc can be kind of misleading ie: &quot;There are two ways for the prePersist event to be triggered. One is obviously when you call EntityManager#persist()&quot; &lt;a href=&quot;http://www.doctrine-project.org/docs/orm/2.0/en/reference/events.html#prepersist&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/docs/orm/2.0/en/reference/events.html#prepersist&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pastie code (probably expired by now):&lt;br/&gt;
$entity = new Entity();&lt;/p&gt;

&lt;p&gt;$entity-&amp;gt;setSomething(&apos;xxx&apos;);&lt;br/&gt;
$this-&amp;gt;em-&amp;gt;persist($entity);&lt;br/&gt;
$this-&amp;gt;em-&amp;gt;flush();&lt;/p&gt;

&lt;p&gt;$entity-&amp;gt;setSomething(&apos;yyy&apos;);&lt;br/&gt;
$this-&amp;gt;em-&amp;gt;persist($entity);&lt;br/&gt;
$this-&amp;gt;em-&amp;gt;flush();&lt;/p&gt;</description>
                <environment>Browser</environment>
            <key id="12785">DDC-1248</key>
            <summary>Documentation regarding prePersist and postPersist events a bit lacking</summary>
                <type id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/documentation.png">Documentation</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="helmer">Helmer Aaviksoo</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Jul 2011 14:43:01 +0000</created>
                <updated>Mon, 4 Jul 2011 14:45:56 +0000</updated>
                                                                    <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-473] Inadequate description for @MappedSuperclass in Annotations Reference</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-473</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;See: &lt;a href=&quot;http://www.doctrine-project.org/documentation/manual/2_0/en/annotations-reference#ann_mappedsuperclass&quot; class=&quot;external-link&quot;&gt;http://www.doctrine-project.org/documentation/manual/2_0/en/annotations-reference#ann_mappedsuperclass&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;@MappedSuperclass&lt;/p&gt;

&lt;p&gt;An mapped superclass is an abstract or concrete class that provides persistent entity state and mapping information for its subclasses, but which is not itself an entity. This annotation is specified on the Class docblock and has no additional attributes.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This doesn&apos;t adequately communicate how to use it. It took me several minutes of failing before I downloaded the PDF and did a search for @MappedSuperclass to find an example of how it&apos;s used.&lt;/p&gt;

&lt;p&gt;Specifically the following were unclear:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Is this defined on the superclass or on the children classes?&lt;/li&gt;
	&lt;li&gt;If it&apos;s defined on the child classes, does it take parameters? The name of the super class?&lt;/li&gt;
	&lt;li&gt;It was not at all apparent to me that it was mutually exclusive with the @Entity tag&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
            <key id="11133">DDC-473</key>
            <summary>Inadequate description for @MappedSuperclass in Annotations Reference</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="hobodave">David Abdemoulaie</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Mar 2010 14:09:54 +0000</created>
                <updated>Thu, 26 Aug 2010 08:02:03 +0000</updated>
                                    <version>2.0-ALPHA4</version>
                                <fixVersion>2.0</fixVersion>
                                <component>Documentation</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="12462" author="hobodave" created="Thu, 25 Mar 2010 14:14:30 +0000"  >&lt;p&gt;Apparently it&apos;s also incompatible with several other tag as well.&lt;/p&gt;

&lt;p&gt;I thought it made sense to try the following and see if the @InheritanceType and @Discriminator___ tags would apply to the children classes:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;/**
 * @MappedSuperclass
 * @InheritanceType(&quot;SINGLE_TABLE&quot;)
 * @DiscriminatorColumn(name=&quot;type&quot;, type=&quot;string&quot;)
 * @DiscriminatorMap({&quot;User&quot; = &quot;User&quot;, &quot;Group&quot; = &quot;Group&quot;})
 */
abstract class Principal
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But apparently this flags D2 to treat it as an Entity anyway, resulting in the following error:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &apos;sentact5.principal&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="12482" author="beberlei" created="Sun, 28 Mar 2010 06:53:24 +0000"  >&lt;p&gt;I updated the documentation, the question is if we should check for the mapped superclass attribute and throw exceptions if other entity level annotations are specified.&lt;/p&gt;</comment>
                    <comment id="12678" author="romanb" created="Thu, 15 Apr 2010 13:14:01 +0000"  >&lt;p&gt;A mapped superclass has not many restrictions and these are mentioned in the docs (i.e. only unidirectional associations), what David mentions above should work, if it doesnt its a bug, I think &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-511&quot; title=&quot;Schema tool does not support STI - attempts to create a table per subclass&quot;&gt;&lt;del&gt;DDC-511&lt;/del&gt;&lt;/a&gt; looks like that same issue.&lt;/p&gt;</comment>
                    <comment id="12679" author="romanb" created="Thu, 15 Apr 2010 13:20:55 +0000"  >&lt;p&gt;David,&lt;/p&gt;

&lt;p&gt;@&quot;Is this defined on the superclass or on the children classes?&quot;&lt;/p&gt;

&lt;p&gt;It doesnt matter. A @MappedSuperclass can be anywhere in an inheritance hierarchy and it always does the same thing, inherit its mapping information to subclasses (but its not itself an entity). The docs say:&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;Mapped superclasses, just as regular, non-mapped classes, can appear in the middle of an otherwise mapped inheritance hierarchy (through Single Table Inheritance or &lt;span class=&quot;code-object&quot;&gt;Class&lt;/span&gt; Table Inheritance).
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;as well as&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;Entities support inheritance, polymorphic associations, and polymorphic queries. Both &lt;span class=&quot;code-keyword&quot;&gt;abstract&lt;/span&gt; and concrete classes can be entities. Entities may extend non-entity classes as well as entity classes, and non-entity classes may extend entity classes.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So entities, mapped superclasses and plain non-mapped classes can appear mixed in an inheritance hierarchy. Nevertheless all the classes in a hierarchy that are entities must use 1 inheritance strategy, you can not mix inheritance mapping strategies in a single class hierarchy.&lt;/p&gt;

&lt;p&gt;@&quot;If it&apos;s defined on the child classes, does it take parameters? The name of the super class?&quot;&lt;/p&gt;

&lt;p&gt;No, it doesnt. The docs dont mention any parameters either which is correct.&lt;/p&gt;

&lt;p&gt;@&quot;It was not at all apparent to me that it was mutually exclusive with the @Entity tag&quot;&lt;/p&gt;

&lt;p&gt;OK, that needs to be made clearer in the docs then.&lt;/p&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DDC-957] When there is no GeneratedValue strategy on a primary key, setter function should be generated</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-957</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;In the YAML/XML, if no GeneratedValue strategy is given for the primary key, a setter function is required in the generated entity class. Currently only a getter is made.&lt;/p&gt;</description>
                <environment>PHP 5.3.3</environment>
            <key id="12262">DDC-957</key>
            <summary>When there is no GeneratedValue strategy on a primary key, setter function should be generated</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="flynsarmy">Flyn San</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Dec 2010 08:41:33 +0000</created>
                <updated>Wed, 29 Dec 2010 08:48:31 +0000</updated>
                                    <version>2.0</version>
                                                <component>Mapping Drivers</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>0</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>