The following may already be possible, but I might not be aware of it, but
here it is and I would appreciate any feedback:

Can we define a new field called "Stored" for the XML Schema.  The reason I
say this is this:

I am using uniqueidentifier fields in MS-SQL, with a default value of
newid(), the problem comes in that Torque tries to store a NULL in this
field and nulls are not allowed, and in fact no value should ever be stored
in this field.  To fix this problem I modified the "*MapBuilder" class,
method doBuild(), and removed this line:

tMap.addColumn("table.UNIQUELY", new Object(0));

So that it didn't try to save it, and could load it OK.

Adam Greene
ROMulin Group Inc

885 Main St, Suite 16
Moncton, NB
E1C 1G5

Ph: (506) 863-1014 x4
Fx: (506) 854-6886

http://www.romulin.com/



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to