Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 59858 invoked from network); 6 Dec 2003 01:45:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Dec 2003 01:45:40 -0000 Received: (qmail 75342 invoked by uid 500); 6 Dec 2003 01:45:21 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 75328 invoked by uid 500); 6 Dec 2003 01:45:21 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 75315 invoked from network); 6 Dec 2003 01:45:21 -0000 Received: from unknown (HELO mx201.mysite4now.com) (216.250.116.238) by daedalus.apache.org with SMTP; 6 Dec 2003 01:45:21 -0000 Received: (qmail 2902 invoked by uid 104); 6 Dec 2003 01:44:23 -0000 Received: from rs@reazon.com by localhost.localdomain by uid 110 with qmail-scanner-1.14 (spamassassin: 2.43-cvs. Clear:. Processed in 0.125729 secs); 06 Dec 2003 01:44:23 -0000 Received: from adsl-67-112-246-202.dsl.lsan03.pacbell.net (HELO RSC640) (67.112.246.202) by mx201.mysite4now.com with SMTP; 6 Dec 2003 01:44:23 -0000 From: "Ramesh Sabeti" To: "'Apache Torque Users List'" Subject: RE: Help Plsssssssssssss Date: Fri, 5 Dec 2003 17:45:26 -0800 Message-ID: <003301c3bb9a$9f628ee0$800101df@rsccd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal In-Reply-To: <20031206000215.17441.qmail@web13421.mail.yahoo.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Vijay, http://www.mail-archive.com/turbine-user@jakarta.apache.org/msg03411.htm l may provide some pointers. And please use a meaningful email subject :) Ramesh > -----Original Message----- > From: Sonu Vijay [mailto:sonupv@yahoo.com] > Sent: Friday, December 05, 2003 4:02 PM > To: Apache Torque Users List > Subject: Help Plsssssssssssss > > Guys, > I"m about to go mad on this on, so pls give me ur > ideas. As some of you might know since yesterday I've > been trying to make the Torque generated Java Classes > to work with DB2400 and I can do selects and deletes > but can't do Inserts and I'm getting the following > exception every time I try an Insert: > > java.sql.SQLException: [SQL0104] Token ) was not > valid. Valid tokens: DAY PATH YEAR LABEL MONTH OPTION > RESULT CONNECTION TRANSACTION. > > Now I tried my level best to print the Insert queries > without getting into Torque code but it didn't work. I > also tried the spy programs suggested by some guys in > the list but still got nothing. > > Maybe that was too much to handle for an Entry level > programmer. > > So I downloaded the Torque code and messed around with > it. Then I downloaded all the village code and tried > to put debugging statements in it. > > So here is what I have found. The actual queries are > being executed in the village code and I could get the > Insert query also. In the village code they check if a > column in read only ( resultSetMetaData.isReadOnly() ) > and my columns come as readOnly, so that's where the > trouble is. > > Now I can't see a damn reason why they are read only. > I can run SQL Inserts from my AS400 operations > navigator with the same USERID/PASSWORD that I'm > supplying to the Torque java classes. > > So I would really really appreciate any ideas you > might have abt the situation. If you need any more > information I'll be happy to provide that. > > Thanks > > Vijay > > > > > > > > __________________________________ > Do you Yahoo!? > Free Pop-Up Blocker - Get it now > http://companion.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org > For additional commands, e-mail: torque-user-help@db.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org