You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2011/06/09 17:26:58 UTC

[jira] [Created] (OPENJPA-2014) Allow proxies to stay in place when Detaching

Allow proxies to stay in place when Detaching
---------------------------------------------

                 Key: OPENJPA-2014
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2014
             Project: OpenJPA
          Issue Type: Improvement
          Components: performance
    Affects Versions: 2.1.0, 2.2.0
            Reporter: Rick Curtis
            Assignee: Rick Curtis
             Fix For: 2.1.1, 2.2.0


I have a scenario where I am using LiteAutoDetach and there is a measurable amount of processing going into unproxying a few of my fields. I don't need to pay this penalty because once my persistence context ends all of my Entities are going to be gc'd.

With this change I'm going to add a configuration property to openjpa.DetachState so that I can selectively turn off unproxying on detach. This property will only work when LiteAutoDetach is enabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (OPENJPA-2014) Allow proxies to stay in place when Detaching

Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Curtis updated OPENJPA-2014:
---------------------------------

    Attachment: OPENJPA-2014.patch

Attaching test case and code change. I still need to come up with doc updates.

> Allow proxies to stay in place when Detaching
> ---------------------------------------------
>
>                 Key: OPENJPA-2014
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2014
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: performance
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.1.1, 2.2.0
>
>         Attachments: OPENJPA-2014.patch
>
>
> I have a scenario where I am using LiteAutoDetach and there is a measurable amount of processing going into unproxying a few of my fields. I don't need to pay this penalty because once my persistence context ends all of my Entities are going to be gc'd.
> With this change I'm going to add a configuration property to openjpa.DetachState so that I can selectively turn off unproxying on detach. This property will only work when LiteAutoDetach is enabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (OPENJPA-2014) Allow proxies to stay in place when Detaching

Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Curtis resolved OPENJPA-2014.
----------------------------------

    Resolution: Fixed

> Allow proxies to stay in place when Detaching
> ---------------------------------------------
>
>                 Key: OPENJPA-2014
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2014
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: performance
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.1.1, 2.2.0
>
>         Attachments: OPENJPA-2014.patch
>
>
> I have a scenario where I am using LiteAutoDetach and there is a measurable amount of processing going into unproxying a few of my fields. I don't need to pay this penalty because once my persistence context ends all of my Entities are going to be gc'd.
> With this change I'm going to add a configuration property to openjpa.DetachState so that I can selectively turn off unproxying on detach. This property will only work when LiteAutoDetach is enabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENJPA-2014) Allow proxies to stay in place when Detaching

Posted by "Rick Curtis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Curtis closed OPENJPA-2014.
--------------------------------


Closing resolved issues.

> Allow proxies to stay in place when Detaching
> ---------------------------------------------
>
>                 Key: OPENJPA-2014
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2014
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: performance
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.1.1, 2.2.0
>
>         Attachments: OPENJPA-2014.patch
>
>
> I have a scenario where I am using LiteAutoDetach and there is a measurable amount of processing going into unproxying a few of my fields. I don't need to pay this penalty because once my persistence context ends all of my Entities are going to be gc'd.
> With this change I'm going to add a configuration property to openjpa.DetachState so that I can selectively turn off unproxying on detach. This property will only work when LiteAutoDetach is enabled.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira