Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 36277 invoked by uid 500); 8 Mar 2002 09:30:20 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 36263 invoked from network); 8 Mar 2002 09:30:19 -0000 Date: Mon, 4 Feb 2002 10:33:15 +0100 From: bartek X-Mailer: The Bat! (v1.53d) UNREG / CD5BF9353B3B7091 Reply-To: bartek X-Priority: 3 (Normal) Message-ID: <172155213703.20020204103315@pfsl.poznan.pl> To: Felix Kugel Subject: Re: Tutorial application error In-Reply-To: <000601c1c680$963517e0$8353e23e@shakti> References: <000601c1c680$963517e0$8353e23e@shakti> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1250 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Friday, March 08, 2002, 10:06:49 AM, you wrote: FK> Received: from apache.org (daedalus.apache.org [63.251.56.142]) FK> by galileo.pfsl.poznan.pl (8.9.1b+Sun/8.9.3) with SMTP id KAA01512 FK> for ; Fri, 8 Mar 2002 10:07:33 +0100 (MET) FK> Received: (qmail 23057 invoked by uid 500); 8 Mar 2002 09:06:42 -0000 FK> Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm FK> Precedence: bulk FK> list-help: FK> list-unsubscribe: FK> list-post: FK> Reply-To: cocoon-users@xml.apache.org FK> Delivered-To: mailing list cocoon-users@xml.apache.org FK> Received: (qmail 23046 invoked from network); 8 Mar 2002 09:06:42 -0000 FK> From: "Felix Kugel" FK> To: FK> Subject: Tutorial application error FK> Date: Fri, 8 Mar 2002 10:06:49 +0100 FK> Message-ID: <000601c1c680$963517e0$8353e23e@shakti> FK> MIME-Version: 1.0 FK> Content-Transfer-Encoding: 7bit FK> X-Priority: 3 (Normal) FK> X-MSMail-Priority: Normal FK> X-Mailer: Microsoft Outlook, Build 10.0.2616 FK> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 FK> Importance: Normal FK> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N FK> Content-Type: text/plain; FK> charset="us-ascii" FK> In the Cocoon tutorial application, I created a few departments. Then, FK> as I tried to add an employee to one of the departments, Cocoon produced FK> the following error message: FK> -------------------------- Cocoon error message FK> Message: FK> Could not add record FK> Source: FK> org.apache.cocoon.ProcessingException FK> Description: FK> org.apache.cocoon.ProcessingException: Could not add record: FK> java.sql.SQLException: Column not found: EMPLOYEE in statement [INSERT FK> INTO employee (id, employee, department_id) VALUES (6, 'Felix', 4)] FK> -------------------------- >From oryginal sql-page.xml.sql : CREATE TABLE employee ( id int(11) DEFAULT '0' NOT NULL, department_id int(11) DEFAULT '0' NOT NULL, name varchar(255) DEFAULT '' NOT NULL, PRIMARY KEY (id) ); so : INSERT INTO employee VALUES (6,4,'Felix'); FK> My Configuration: FK> Windows XP FK> Tomcat 4.0.1 FK> Cocoon 2.0.1 (Binary distribution) FK> Thanks for any help, FK> Felix -- Bart�omiej Burba --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: