You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by "thomas.ung@freesbee.fr" <th...@freesbee.fr> on 2006/06/26 22:04:03 UTC
Re:Torque save() method doesnt work for 1 object type..but works forothers
maybe you should put torque in debug mode to try to locate
the probleme?
Thomas
---------- Initial Header -----------
From : bobbysojitra <bo...@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
Re: Re:Torque save() method doesnt work for 1 object type..but
works for
Posted by bobbysojitra <bo...@sensorynet.co.uk>.
how do i do this?
--
View this message in context: http://www.nabble.com/Re%3ATorque-save%28%29-method-doesnt-work-for-1-object-type..but-works-forothers-tf1851169.html#a5062068
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