RE: DB2/400 inserts fail with Torque code

2004-01-22 Thread Vikas Phonsa
[mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 12:54 AM To: Apache Torque Users List Subject: Re: DB2/400 inserts fail with Torque code Hello, We had the same problem using Sybase DB, and we did exactly the same, modified the village classes to set readonly=false. I think only

Re: [torque] DB2/400 inserts fail with Torque code

2004-01-22 Thread Federico Spinazzi
Vikas Phonsa wrote: Hi, I can't insert data into my DB2/400 using the torque generated classes. The reason is the ResultSetMetaData obtained from the ResultSet returned by the Select statement before the Inserts in Torque code, gives all my columns to be readOnly. This is not pointed out in the e

Re: DB2/400 inserts fail with Torque code

2004-01-22 Thread Andras Balogh
Hello, We had the same problem using Sybase DB, and we did exactly the same, modified the village classes to set readonly=false. I think only ResultSetMetaData can return the meta data of a table (i.e. column info) and not DatabaseMetaData. Best wishes, Andras. Vikas Phonsa wrote: Hi,

DB2/400 inserts fail with Torque code

2004-01-21 Thread Vikas Phonsa
Hi, I can't insert data into my DB2/400 using the torque generated classes. The reason is the ResultSetMetaData obtained from the ResultSet returned by the Select statement before the Inserts in Torque code, gives all my columns to be readOnly. This is not pointed out in the exception sta