You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jody Grassel (JIRA)" <ji...@apache.org> on 2013/02/24 21:00:12 UTC

[jira] [Resolved] (OPENJPA-2334) OpenJPA must support processing puRoot & jar-file URLs as jar-formatted InputStreams

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

Jody Grassel resolved OPENJPA-2334.
-----------------------------------

    Resolution: Fixed
    
> OpenJPA must support processing puRoot & jar-file URLs as jar-formatted InputStreams
> ------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2334
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2334
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.3.0, 2.2.2
>            Reporter: Jody Grassel
>            Assignee: Jody Grassel
>             Fix For: 2.3.0, 2.2.2
>
>         Attachments: openjpa-2.2.x-urljarinput-02132013.patch
>
>
> TheJPA Specification states in the javadoc for javax.persistence.spi.PersistenceUnitInfo methods getJarFileUrls() and getPersistenceUnitRootUrl():
> "A URL will either be a file: URL referring to a jar file or referring to a directory that contains an exploded jar file, or some other URL from which an InputStream in jar format can be obtained."
> Currently the method OpenJPA uses to identify PCTypes does not completely meet the specification requirements, and needs to be adapted to support non-file/jar URLs that provide jar-formatted InputStreams.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira