<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 09:56:35 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/si/jira.issueviews:issue-xml/DDC-1479/DDC-1479.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DDC-1479] GH-169: preFlush event and lifecycle callback</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1479</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Pull-Request was automatically synchronized: &lt;a href=&quot;https://github.com/doctrine/doctrine2/pull/169&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/pull/169&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For now, we have `@PrePersist`, `@PreUpdate` and `@PreRemove` callbacks. But it&apos;s not enough, cuz in some cases we need to run some entity method just before *&lt;b&gt;every&lt;/b&gt;* `EntityManager#flush()` call (examples - translatable behavior and file uploading routines).&lt;/p&gt;

&lt;p&gt;I&apos;ve added and tested new `@PreFlush` event, which occurs during the start of the `EntityManager#flush()`, before any changeset gets calculated. This gives users ability to hook into flush process and prepare their entities to save even if they were not changed.&lt;/p&gt;</description>
                <environment></environment>
            <key id="13158">DDC-1479</key>
            <summary>GH-169: preFlush event and lifecycle callback</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, 8 Nov 2011 23:43:48 +0000</created>
                <updated>Tue, 10 Jul 2012 03:41:48 +0000</updated>
                    <resolved>Sun, 13 Nov 2011 15:52:36 +0000</resolved>
                                            <fixVersion>2.2</fixVersion>
                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16803" author="beberlei" created="Sun, 13 Nov 2011 15:52:36 +0000"  >&lt;p&gt;Merged into master&lt;/p&gt;</comment>
                    <comment id="18271" author="beberlei" created="Mon, 9 Jul 2012 22:53:08 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-169&amp;#93;&lt;/span&gt; was opened&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/169&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/169&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="18272" author="beberlei" created="Tue, 10 Jul 2012 03:41:48 +0000"  >&lt;p&gt;A related Github Pull-Request &lt;span class=&quot;error&quot;&gt;&amp;#91;GH-169&amp;#93;&lt;/span&gt; was closed&lt;br/&gt;
&lt;a href=&quot;https://github.com/doctrine/dbal/pull/169&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/dbal/pull/169&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>