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 <[EMAIL PROTECTED]>; 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 [EMAIL PROTECTED]; run by ezmlm
FK> Precedence: bulk
FK> list-help: <mailto:[EMAIL PROTECTED]>
FK> list-unsubscribe: <mailto:[EMAIL PROTECTED]>
FK> list-post: <mailto:[EMAIL PROTECTED]>
FK> Reply-To: [EMAIL PROTECTED]
FK> Delivered-To: mailing list [EMAIL PROTECTED]
FK> Received: (qmail 23046 invoked from network); 8 Mar 2002 09:06:42 -0000
FK> From: "Felix Kugel" <[EMAIL PROTECTED]>
FK> To: <[EMAIL PROTECTED]>
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. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to