maybe you should put torque in debug mode to try to locate the probleme? Thomas
---------- Initial Header ----------- From : bobbysojitra <[EMAIL PROTECTED]> To : torque-user@db.apache.org Cc : Date : Mon, 26 Jun 2006 07:44:03 -0700 (PDT) Subject : Torque save() method doesnt work for 1 object type..but works forothers Hi Guys I have a torque schema with a few objects. myObject.save() works for all objects (i.e. writes values to the database when adding or updating) except 1 object. Here is the part of the schema (see below) for the object which doesnt save. I dont get an error message or anything. It seems as if it has all worked fine, but when I check the database, the object's values are as before.. any ideas? Thanks in advance. <table javaName="Step" name="steps"> <idMethodParameter value="id" /> <column javaName="id" name="id" primaryKey="true" required="true" type="INTEGER" autoIncrement="true"/> <column javaName="taskId" name="taskId" required="true" type="INTEGER" default="0"/> <column javaName="stepId" name="stepId" required="true" type="INTEGER" default="0"/> <column javaName="stepName" name="stepName" required="false" default="" type="VARCHAR" size="255"/> <column javaName="stepDescription" name="stepDescription" required="false" default="" type="LONGVARCHAR"/> <column javaName="completed" name="completed" required="true" type="INTEGER" default="0" /> <column javaName="percentComplete" name="percentComplete" required="false" type="INTEGER" default="0"/> <column javaName="weight" name="weight" required="false" type="INTEGER" default="0"/> <column javaName="status" name="status" required="false" type="INTEGER" default="0"/> <column javaName="updatedOn" name="updatedOn" required="true" type="BIGINT"/> </table> -- View this message in context: http://www.nabble.com/Torque-save%28%29-method-doesnt-work-for-1-object-type..but-works-for-others-t1849364.html#a5048260 Sent from the Apache DB - Torque Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------- ALICE SECURITE ENFANTS --------------------- Protégez vos enfants des dangers d'Internet en installant Sécurité Enfants, le contrôle parental d'Alice. http://www.aliceadsl.fr/securitepc/default_copa.asp --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]