<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 19 08:04:34 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-1076/DDC-1076.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-1076] It should be possible to supply EntityManager with a custom ProxyFactory</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1076</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;It is plausible that one might want to handle the loading of proxy classes in their own way, perhaps not using the filename/class scheme doctrine currently comes with.&lt;/p&gt;

&lt;p&gt;Currently the only way to provide your own implementation of ProxyFactory is to subclass EntityManager. Even this is not clean since one also must copy/paste the EntityManager::create factory method to get identical behavior.&lt;/p&gt;

&lt;p&gt;It would be nice if there was a ProxyFactory interface and one could provide an instance of it to Doctrine\ORM\Configuration when creating an EntityManager.&lt;/p&gt;
</description>
                <environment></environment>
            <key id="12493">DDC-1076</key>
            <summary>It should be possible to supply EntityManager with a custom ProxyFactory</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</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="putgeminmouth">David Reisch</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Mar 2011 15:22:14 +0000</created>
                <updated>Fri, 25 Mar 2011 10:27:07 +0000</updated>
                                                                    <component>ORM</component>
                        <due></due>
                    <votes>2</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="15577" author="putgeminmouth" created="Thu, 24 Mar 2011 15:22:38 +0000"  >&lt;p&gt;I would be happy to contribute a patch to this end.&lt;/p&gt;</comment>
                    <comment id="15581" author="beberlei" created="Fri, 25 Mar 2011 04:26:27 +0000"  >&lt;p&gt;Can you elaborate on your use-case? proxies are sorft of a by product, to be genreated in a temporary cache directory. I don&apos;t see why one should bother about how it is done.&lt;/p&gt;</comment>
                    <comment id="15585" author="putgeminmouth" created="Fri, 25 Mar 2011 10:27:06 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
I think allowing users to specify their own implementations for things is pretty essential for a library, especially when there is no cost in complexity or implementation.&lt;/p&gt;

&lt;p&gt;Anyhow, here&apos;s my pitch:&lt;/p&gt;

&lt;p&gt;I personally do not like using inheritance for proxies (it feels hackish to me), preferring instead to have interfaces for my Business Objects which the proxies implement. To that end, I do not generate my proxies with doctrine, but maintain my own, in my code base, and the class files do not necessarily match up to the doctrine ProxyFactory&apos;s assumptions about where to find the classes.&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>