Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 60619 invoked from network); 29 Feb 2008 13:49:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 13:49:06 -0000 Received: (qmail 30936 invoked by uid 500); 29 Feb 2008 13:49:01 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 30918 invoked by uid 500); 29 Feb 2008 13:49:00 -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 30909 invoked by uid 99); 29 Feb 2008 13:49:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 05:49:00 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.86.168.178 is neither permitted nor denied by domain of geir@pobox.com) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 13:48:14 +0000 Received: from [192.168.1.124] (unknown [67.86.14.213]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7C7D023E402 for ; Fri, 29 Feb 2008 08:48:21 -0500 (EST) Message-Id: <10A07631-FF54-4459-98C4-8F19A80C25AB@pobox.com> From: "Geir Magnusson Jr." To: dev@openjpa.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: how to tell openjpa to not worry about non-entity abstract superclasses of entities Date: Fri, 29 Feb 2008 08:48:20 -0500 X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org After a bit of refactoring, I have a set of entity classes that have a common abstract ancestor. This ancestor has nothing JPA-ish about it. However, when I run the enhancer (v1.0.2) I get : [openjpac] 1003 pu WARN [main] openjpa.Enhance - Type "class com.joost.model.codes.AbstractControlledListItem" has no metadata; enhancing as persistence aware. If you intended for "class com.joost.model.codes.AbstractControlledListItem" to be persistence- capable, then this means that OpenJPA could not find any metadata for "class com.joost.model.codes.AbstractControlledListItem". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information. How can I tell OpenJPA to ignore it? geir