Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 88113 invoked from network); 27 Apr 2006 20:16:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2006 20:16:10 -0000 Received: (qmail 93536 invoked by uid 500); 27 Apr 2006 20:16:03 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 93456 invoked by uid 500); 27 Apr 2006 20:16:03 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 93357 invoked by uid 99); 27 Apr 2006 20:16:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 13:16:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 13:16:02 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AD633410010 for ; Thu, 27 Apr 2006 20:15:38 +0000 (GMT) Message-ID: <16228802.1146168938708.JavaMail.jira@brutus> Date: Thu, 27 Apr 2006 20:15:38 +0000 (GMT+00:00) From: "Aaron Mulder (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-1079) Better error for missing primkey-field In-Reply-To: <562815551.1129525544768.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/GERONIMO-1079?page=all ] Aaron Mulder updated GERONIMO-1079: ----------------------------------- Fix Version: 1.1 (was: 1.2) Assign To: Aaron Mulder (was: Gianny Damour) Priority: Critical (was: Major) Review for fixability in 1.1 > Better error for missing primkey-field > -------------------------------------- > > Key: GERONIMO-1079 > URL: http://issues.apache.org/jira/browse/GERONIMO-1079 > Project: Geronimo > Type: Bug > Security: public(Regular issues) > Components: deployment, OpenEJB > Versions: 1.0-M5 > Reporter: Aaron Mulder > Assignee: Aaron Mulder > Priority: Critical > Fix For: 1.1 > > I forgot the primkey-field for my CMP entity, and I got this: > Error: Unable to distribute LoadMagus.ear: Could not deploy module > caused by EJB [TestRunMachine] is misconfigured: could not find CMP > fields for following pk fields: [TYPE] [MAX_VALUE] [MIN_VALUE] > Now, I don't know where it got TYPE, MAX_VALUE, and MIN_VALUE from -- those are not fields on my EJB or the table or anything. I did have a prim-key-class set to java.lang.Integer, so perhaps it picked up the static fields on java.lang.Integer (if so why? I wouldn't have thought statics were relevant). It would be better if the error said "missing primkey-field or prim-key-class does not have properties matching CMP field names" or something like that. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira