Return-Path: Delivered-To: apmail-openjpa-users-archive@locus.apache.org Received: (qmail 10932 invoked from network); 16 Oct 2008 21:13:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 21:13:06 -0000 Received: (qmail 95296 invoked by uid 500); 16 Oct 2008 21:13:08 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 95101 invoked by uid 500); 16 Oct 2008 21:13:08 -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 95090 invoked by uid 99); 16 Oct 2008 21:13:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 14:13:07 -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 techhusky@gmail.com designates 209.85.132.249 as permitted sender) Received: from [209.85.132.249] (HELO an-out-0708.google.com) (209.85.132.249) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 21:12:01 +0000 Received: by an-out-0708.google.com with SMTP id c36so18144ana.96 for ; Thu, 16 Oct 2008 14:12:28 -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:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ceyf8BLenPkHtxDNtP2nOxBjkuukVD3TzRuiNR7Qee8=; b=LF80X8BZDoijer4fCBgANuvOeDJnWI7JVZB8dZ6b1260qvBSFHFP/UIKQFnwVRhT8J 72n6AJm7h33z+heIxe9fY7GKofh5AsCwexlffajNcY3Gs6ULb5dkzzLQxjV0cdF4XJEq Adnhi9cnJzHs0kLRQZlxqBLS8Og7DQCMES3Pw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tKWBV7gbay8goB/SZhV+0Dc62qUQteAWdkJvBeW6YZvi0iTdqeajSWTvspquOrTfar f6mOX29oEAG+IFUzvxXOMnR2N2kU6Tzp1CCsOWsNqfTdAdv6uA0S/ixNiK7bs7nOdJAu BjkHiQ3clzY5m7shqcrPwb4ruA4bQ0DyLIXPQ= Received: by 10.100.215.15 with SMTP id n15mr4296787ang.94.1224191548166; Thu, 16 Oct 2008 14:12:28 -0700 (PDT) Received: by 10.100.124.15 with HTTP; Thu, 16 Oct 2008 14:12:28 -0700 (PDT) Message-ID: Date: Thu, 16 Oct 2008 16:12:28 -0500 From: "Jeremy Bauer" To: users@openjpa.apache.org Subject: Re: Trouble with Constructor Expressions In-Reply-To: <1224188283348-1342561.post@n2.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1224179798103-1342024.post@n2.nabble.com> <1224188283348-1342561.post@n2.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Roops.. I missed the key statement: "The constructed object, which is not an entity, ..." :-) I haven't verified, but there could be a problem with using the int primitives (non-nullable) on the constructor. Changing them to Integer (nullable) may correct the problem. I'll try a few variations as well. -Jeremy