openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-160) Reuse BrokerImpl objects
Date Tue, 27 Feb 2007 18:28:05 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476295
] 

Craig Russell commented on OPENJPA-160:
---------------------------------------

>I put a Map in place to get around any ClassLoader issues. In the common case, it shouldn't
be an issue, since all the built-in OpenJPA classes will presumably be in the same classloader
as the ObjectValue class. But the existing code handled more complex ClassLoader situations,
so I figured I'd preserve that feature. 

Once you have a Class for the type, there are no classloader issues any more. The code only
looks at the classloader of the type. So I don't see the need for generalization.  


> Reuse BrokerImpl objects
> ------------------------
>
>                 Key: OPENJPA-160
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-160
>             Project: OpenJPA
>          Issue Type: Sub-task
>            Reporter: Michael Dick
>         Attachments: openjpa-160-patch.txt, perf2.jpg, perf3.jpg
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message