Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7983DDBC3 for ; Fri, 15 Feb 2013 02:43:14 +0000 (UTC) Received: (qmail 51018 invoked by uid 500); 15 Feb 2013 02:43:14 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 50969 invoked by uid 500); 15 Feb 2013 02:43:13 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 50955 invoked by uid 99); 15 Feb 2013 02:43:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 02:43:13 +0000 Date: Fri, 15 Feb 2013 02:43:13 +0000 (UTC) From: "Jody Grassel (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OPENJPA-2334) OpenJPA must support processing puRoot & jar-file URLs as jar-formatted InputStreams MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jody Grassel updated OPENJPA-2334: ---------------------------------- Fix Version/s: 2.2.2 2.3.0 > 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