From user-return-10793-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Sat Jul 05 20:48:48 2008 Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 45832 invoked from network); 5 Jul 2008 20:48:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2008 20:48:48 -0000 Received: (qmail 4527 invoked by uid 500); 5 Jul 2008 20:48:48 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 4508 invoked by uid 500); 5 Jul 2008 20:48:48 -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 4497 invoked by uid 99); 5 Jul 2008 20:48:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 13:48:48 -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 eljotpl@gmail.com designates 64.233.182.184 as permitted sender) Received: from [64.233.182.184] (HELO nf-out-0910.google.com) (64.233.182.184) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 20:47:55 +0000 Received: by nf-out-0910.google.com with SMTP id g16so494769nfd.15 for ; Sat, 05 Jul 2008 13:48:15 -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:reply-to :sender:to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=vNcgJb7OfxvkFoC6LAaZOhfO3Xh1kFPzRWluEK4lmjE=; b=RNztl2OYbLsKEMvwljlju2fc5rk4gl9HvdRPCs6XoqH6paYSfrzTf003V+VhIORntU LdP36qm7N1ec6L5bUZRlHhHIJ1Pqkf9s449Q3ebRyynzvzCmw2hfaUSc6y7oEOoHjCQE 6jnAhglok1zixsQINAeTAPAD2qQAk9UN/fDF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=DpLJZFB0exizrDZbGzrlkxNJpE5MomohpTothWtMDaFpHCner/V7eaE83/ib20+Kho fiYJUPXvmnoEGlK3bYe7gim9X4dqfrgxi4wWgYpR9YGauxNu82nwBusvzH57S4CfEoMB uiuv7cNYxaJB5rggl5y3V3XLiMFzeVN3j+kSo= Received: by 10.210.24.7 with SMTP id 7mr1549025ebx.178.1215290894973; Sat, 05 Jul 2008 13:48:14 -0700 (PDT) Received: by 10.210.13.15 with HTTP; Sat, 5 Jul 2008 13:48:14 -0700 (PDT) Message-ID: <1b5bfeb50807051348j5533674dqf88ef6d8868a5caf@mail.gmail.com> Date: Sat, 5 Jul 2008 22:48:14 +0200 From: "Jacek Laskowski" Reply-To: jacek@laskowski.net.pl Sender: eljotpl@gmail.com To: user@geronimo.apache.org Subject: Re: error writing tuple to database "the owning entity is not mapped" geronimo 2.1.1 In-Reply-To: <18290344.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18290344.post@talk.nabble.com> X-Google-Sender-Auth: dae84bfb7696f898 X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Jul 5, 2008 at 11:19 AM, the666pack wrote: > my database scheme consists of a Person entity and a Director entity which > is inherited from the Person entity. Hi, It won't solve your issue, but why is Person a superclass of Directory. Shouldn't Director be a role of a Person in a given scenario? If a person becomes a director, (s)he won't be able to resign and become a manager or just a developer? On to your issue... > so i want to write a Person first, to keep it simple. unfortunately i get an > error when i try to perform a write: Could you show us how Person looks like? And your persistence.xml too. I assume you don't use orm.xml or alike, do you? If so, show it too. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl