cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bartek <bar...@pfsl.poznan.pl>
Subject Re: Tutorial application error
Date Mon, 04 Feb 2002 09:33:15 GMT

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 <bartek@pfsl.poznan.pl>; 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: <mailto:cocoon-users-help@xml.apache.org>
FK> list-unsubscribe: <mailto:cocoon-users-unsubscribe@xml.apache.org>
FK> list-post: <mailto:cocoon-users@xml.apache.org>
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" <F.Kugel@gmx.de>
FK> To: <cocoon-users@xml.apache.org>
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message