Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 74255 invoked from network); 31 Jul 2009 13:38:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jul 2009 13:38:08 -0000 Received: (qmail 76156 invoked by uid 500); 31 Jul 2009 13:37:12 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 75914 invoked by uid 500); 31 Jul 2009 13:37:11 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 75295 invoked by uid 99); 31 Jul 2009 13:32:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 13:32:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of techhusky@gmail.com designates 209.85.221.200 as permitted sender) Received: from [209.85.221.200] (HELO mail-qy0-f200.google.com) (209.85.221.200) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 13:32:37 +0000 Received: by qyk38 with SMTP id 38so2549925qyk.25 for ; Fri, 31 Jul 2009 06:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=RrxyG3oK57taIlaSRUYqjglS7WPcAJERktsOAt4tsAM=; b=SngGC/amf1sIXn70FvwOMUD7rCpim4gbhJZErC/KpLblyRUlHbuX2OSUNzaQOUxxSA j0wS5aIR1A7PDVkRtOzmYBezSilqpqhROkD0njpBizg4MKqSQeSjIyCeEVbYGjLnj1/o f+xCuWYQIgq+HyriNav8BO4evBNbYZBUYpiuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sdXnEBaYSfSzTN96T9Ofv2+63gGFXJyELiU7w1OzA9TjSv2sX3c/R4XPADIcLSu42D /B1FRafnODkfjmEtOenFOeD4M6gdXy2QJ6SnqFg/HSdZp+YAVEXw1Hgxbi8+tJ5JbrU9 Kh/tuh4tCAyftNoFCPUjn0Sw2kzBkswCb9WIk= MIME-Version: 1.0 Received: by 10.229.86.131 with SMTP id s3mr502753qcl.8.1249047135973; Fri, 31 Jul 2009 06:32:15 -0700 (PDT) In-Reply-To: <89c0c52c0907310617m2735a23budd3bb144e9f36037@mail.gmail.com> References: <932505.95339.qm@web28616.mail.ukl.yahoo.com> <89c0c52c0907310617m2735a23budd3bb144e9f36037@mail.gmail.com> Date: Fri, 31 Jul 2009 08:32:15 -0500 Message-ID: Subject: Re: OpenJPA and load timpe weaving From: Jeremy Bauer To: users@openjpa.apache.org Content-Type: multipart/alternative; boundary=0016364271a4d8f2dc0470007252 X-Virus-Checked: Checked by ClamAV on apache.org --0016364271a4d8f2dc0470007252 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Thierry, I did not see this in the blog post that Kevin referred to, but it may be helpful as well. You can explicitly turn off OpenJPA's subclassing-based enhancement by specifying this option in your persistence.xml: If your app is configured properly, classes (which are not pre-enhanced) should get enhanced by the enhancer agent. But, if there are those that are not, subclassing will not occur and OpenJPA will throw an exception stating that an entity was not enhanced. hth, -Jeremy On Fri, Jul 31, 2009 at 8:17 AM, Kevin Sutter wrote: > Thierry, > I would first reference this blog posting [1] on our Enhancement processing > (load time weaving) and see if that helps answer your questions. Or, at > least it should help narrow the scope of the question... > > Thanks, > Kevin > > [1] > http://webspherepersistence.blogspot.com/2009/02/openjpa-enhancement.html > > On Fri, Jul 31, 2009 at 4:36 AM, Thierry Templier > wrote: > > > > > Hello, > > > > I'm using OpenJPA 1.1.0 and I wonder if it's possible to explicitly > specify > > that we want to load time weaving. > > > > Thanks for your help, > > Thierry > > > > > > > > > --0016364271a4d8f2dc0470007252--