Hello, 1. My procedure is to run the jdbc Ant task 2. Then I change my schema to autoIncrement="true" for my Identity table, it already has primayKey="true" 3. Then I run the default task for build-torque 4. I don't set my identity column in my program, but when I attempt to save I get the TorqueException
"Cannot insert explicit value for identity column in table 'CONTACTS' when IDENTITY_INSERT is set to OFF." Andaras Says: I have used torque with mssql successfully. What is not clear to me why you want to insert in the identity column. Did you declare the column in the schema as primaryKey="true" autoIncrement="true" ? If yes than Torque should do the insert into your CONTACTS table correctly and even read the new value of the column after insert. Best regards, Andras. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]