[ 
https://issues.apache.org/jira/browse/OPENJPA-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved OPENJPA-1600.
--------------------------------------
    Resolution: Won't Fix

Closing as obsolete during backlog cleanup: the enhancer now reads class bytes 
through AsmHelper.readClassNode using ClassLoader.getResourceAsStream 
(AsmHelper.java:90-93), which works for classes inside jars. Please reopen if 
this still happens with OpenJPA 4.x.

> Allow enhancer to read entities inside jar archive
> --------------------------------------------------
>
>                 Key: OPENJPA-1600
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1600
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: build / infrastructure, tooling
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>            Priority: Major
>
> Enhancer currently does not read class bytes if they are packaged in a jar 
> file. 
> Enhancing an entity that resides inside a jar and overwriting the enhanced 
> byte code inside the same jar is somewhat difficult.
> But as a first step, we can read the byte code for entities that are merely 
> used as serializeable reference to other persistent entities.
> An issue of this nature has been reported in the user forum [1].



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to