From dev-return-21540-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Wed Feb 13 23:04:13 2013 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 03ECDE47E for ; Wed, 13 Feb 2013 23:04:13 +0000 (UTC) Received: (qmail 83569 invoked by uid 500); 13 Feb 2013 23:04:12 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 83479 invoked by uid 500); 13 Feb 2013 23:04:12 -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 83463 invoked by uid 99); 13 Feb 2013 23:04:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 23:04:12 +0000 Date: Wed, 13 Feb 2013 23:04:12 +0000 (UTC) From: "Jody Grassel (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Jody Grassel created OPENJPA-2334: ------------------------------------- Summary: 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 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