Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 12788 invoked from network); 30 Mar 2005 14:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2005 14:31:58 -0000 Received: (qmail 9701 invoked by uid 500); 30 Mar 2005 14:31:57 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 9673 invoked by uid 500); 30 Mar 2005 14:31:56 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 9660 invoked by uid 99); 30 Mar 2005 14:31:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from e3.ny.us.ibm.com (HELO e3.ny.us.ibm.com) (32.97.182.143) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 30 Mar 2005 06:31:55 -0800 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j2UEVqG9012340 for ; Wed, 30 Mar 2005 09:31:52 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j2UEVqfl095210 for ; Wed, 30 Mar 2005 09:31:52 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j2UEVq5e010825 for ; Wed, 30 Mar 2005 09:31:52 -0500 Received: from [127.0.0.1] (sig-9-48-117-92.mts.ibm.com [9.48.117.92]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j2UEVpmJ010759 for ; Wed, 30 Mar 2005 09:31:52 -0500 Message-ID: <424AB765.1050105@Golux.Com> Date: Wed, 30 Mar 2005 06:27:49 -0800 From: myrna User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Discussion Subject: Re: Can't insert into Derby database via Cold Fusion? References: <4249F0BB.3090005@atzilut.com> <4249F487.9030800@Golux.Com> <424A9876.9000503@atzilut.com> In-Reply-To: <424A9876.9000503@atzilut.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yvan Gagnon wrote: > Hmm, ... that seemed like a logical thing for me to re-examine, but > I've verified that all of the columns in my table allow for null > values. I even dropped and then re-created the table to make sure. > But I 'm still getting the same error message when trying to insert data. > > I'm wondering if perhaps the SQL client / table editor I'm using might > have some shortcomings that are hindering my ability to create tables > with the correct properties (I'm using the DBEdit plugin for Eclipse > on the PC platform). Is there a better client / table editor that you > could recommend, perhaps? -- One that will work with Derby? > Thanks, > - yvan > Well, it was worth a check... I think I've heard of people using DBEdit and can't remember any complaints...which may just mean I haven't heard/remembered :-) But there's always ij - the derby command line SQL utility. java -Dij.protocol=jdbc:derby: org.apache.derby.tools.ij (there's some scripts too, but they're not currently in jar files). IBM developerworks has a plug-in that loads ij into Eclipse: http://www-106.ibm.com/developerworks/db2/library/techarticle/dm-0501cline/ There's also debugging steps you can take: - add the following to the startup command for the network server: -DretrieveMessagesFromServerOnGetMessage=true (that will show the actual message, rather then just the SQL ErrorCode). - add the following to your derby.properties file (unless you have one already, this should go in the location where your derby database sits) derby.infolog.append=true derby.language.logStatementText=true derby.stream.error.logSeverityLevel=0 Then, you can look in the derby.log file to find out what statement derby is executing when you encounter the error. Myrna