db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thomas.ung@freesbee.fr" <thomas....@freesbee.fr>
Subject Re:Torque save() method doesnt work for 1 object type..but works forothers
Date Mon, 26 Jun 2006 20:04:03 GMT
maybe you should put torque in debug mode to try to locate
the probleme?

Thomas

---------- Initial Header -----------

From      : bobbysojitra <bobbys@sensorynet.co.uk>
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: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org



--------------------- 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: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message