openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <>
Subject [jira] [Updated] (OPENJPA-2014) Allow proxies to stay in place when Detaching
Date Sat, 11 Jun 2011 15:56:58 GMT


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:
>             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:

View raw message