Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 63778 invoked from network); 13 Oct 2008 19:28:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 19:28:35 -0000 Received: (qmail 47451 invoked by uid 500); 13 Oct 2008 19:28:35 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 47415 invoked by uid 500); 13 Oct 2008 19:28:34 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 47404 invoked by uid 99); 13 Oct 2008 19:28:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 12:28:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jaydmchugh@gmail.com designates 74.125.46.31 as permitted sender) Received: from [74.125.46.31] (HELO yw-out-2324.google.com) (74.125.46.31) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 19:27:28 +0000 Received: by yw-out-2324.google.com with SMTP id 2so435914ywt.85 for ; Mon, 13 Oct 2008 12:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=n/0j/uNOks456JtNjBl5pbowtLC0HS+qgYkFQzX9cDc=; b=C/sH6iWgBVOVmJMUsoXKwNPtQYbmi+SiLlXr/DaMGOnZAs9srPYVw1f20S7QzFT0p9 H20jt+Ix6oQAeUsBo3Lh3oDSk3FlzB4YlqD40Kq9LMuQtxPsSE/4AYBELll/PeMLfKgw xc7OtWwmhwgdAIqr/33Bm0K5PqIuzn4YCCZkE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=QXlGbA4IcsB6XhVCBtW+8QXF2CB2UR6sAZEteMyfPmhNcm/cAfI1XLPvu/KGvN1atq EyyQ2HPJBQzEC3WxviY8X/g+UhNaKXPMM8tAADU9cFR4U6SnJOdRpQNvgVfGkwBhHkrf piLEQRLRcNuLtLOk0yCBrmFSHE/+TzgRr8ZhM= Received: by 10.100.165.13 with SMTP id n13mr6251717ane.113.1223926085174; Mon, 13 Oct 2008 12:28:05 -0700 (PDT) Received: from ?172.16.3.2? (198.pubint.com [66.84.139.198]) by mx.google.com with ESMTPS id 62sm7389773wri.23.2008.10.13.12.28.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 13 Oct 2008 12:28:03 -0700 (PDT) Message-ID: <48F3A137.3010002@gmail.com> Date: Mon, 13 Oct 2008 14:27:51 -0500 From: "Jay D. McHugh" User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Exception in using: @OneToMany with mappedBy References: <19867956.post@talk.nabble.com> <19915942.post@talk.nabble.com> In-Reply-To: <19915942.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Marco, Sorry that it took so long for anyone to send you a response. Here is something to try. Add an annotation to your entity classes of: @XmlAccessorType(XmlAccessType.PROPERTY) I think that OpenJPA has field access set by default. Or, if you want to use field access instead, you can explicitly annotate your classes with: @XmlAccessorType(XmlAccessType.FIELD) Hope that helps, Jay MarWestermann wrote: > Hi, > > nobody an idea? I cannot find anything for this. > > regards Marco