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

Mark Struberg commented on OPENJPA-2093:
----------------------------------------

Actually I only suggest to use either deploy-time enhancement or build-time 
enhancement as both javaagent and java6 class-re-transformation have the 
problem that they pollute the SystemClassLoader with openjpa classes (which is 
later causing issues in the webapps).

You could use the openjpa-maven-plugin
http://mojo.codehaus.org/openjpa-maven-plugin/usage.html

As of 2.2.0 this got moved to org.apache.openjpa (not yet released).
                
> How to increase the perfomance of JPA on creating the entitymanager instance.
> -----------------------------------------------------------------------------
>
>                 Key: OPENJPA-2093
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2093
>             Project: OpenJPA
>          Issue Type: Question
>    Affects Versions: 1.2.1, 2.0.0
>            Reporter: Rakesh Raghunath
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> In my persistance.xml I am trying to enhance 20 classes. When i create the 
> entity manager instance , it takes 30seconds to create the instance.. 
> Kindly provide me some tips to make it performant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to