Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 98661 invoked from network); 30 Apr 2008 21:27:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 21:27:39 -0000 Received: (qmail 68567 invoked by uid 500); 30 Apr 2008 21:27:40 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 68531 invoked by uid 500); 30 Apr 2008 21:27:40 -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 68520 invoked by uid 99); 30 Apr 2008 21:27:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 14:27:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 21:27:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 848CE234C109 for ; Wed, 30 Apr 2008 14:23:55 -0700 (PDT) Message-ID: <1979047092.1209590635528.JavaMail.jira@brutus> Date: Wed, 30 Apr 2008 14:23:55 -0700 (PDT) From: "Patrick Linskey (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-486) OpenJPAEntityManager.createInstance(Class cls) fails when T is an abstract class In-Reply-To: <17800463.1200434013936.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey updated OPENJPA-486: ------------------------------------ Fix Version/s: (was: 1.1.0) 1.2.0 > OpenJPAEntityManager.createInstance(Class cls) fails when T is an abstract class > ----------------------------------------------------------------------------------- > > Key: OPENJPA-486 > URL: https://issues.apache.org/jira/browse/OPENJPA-486 > Project: OpenJPA > Issue Type: New Feature > Components: jpa > Reporter: Pinaki Poddar > Fix For: 1.2.0 > > > According to JavaDoc, OpenJPAEntityManager.createInstance() method > public T createInstance(Class cls); > behaves as follows: > "Create a new instance of type cls. If cls is > an interface or an abstract class whose abstract methods follow the > JavaBeans convention, this method will create a concrete implementation > according to the metadata that defines the class" > The method fails when T is an abstract class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.