If you want to set values to NULL in your database you could make a simple method on the server side with a signature like this:
setValueToNull(table, column, primaryKeyColumn, primaryKeyValue) You could get the primaryKeyColumn from the database metadata. Greetz Erik On 9/19/07, EECOLOR <[EMAIL PROTECTED]> wrote: > > These are the simple types and their default values: > > uint - 0 > int - 0 > Number - NaN > String - null > Boolean - false > > I still do > not get your problem. In your database a representation of a boolean would be > a bit type. Which means that it's either true or false. You could > look at your problem in antother way. A boolean should have two values, > that's what the term suggests. Your database however adds > another value: NULL. This is kinda strange. You could set the field in your > database to NOT NULLABLE and declare a default value. The field > in the database should represent something that is either true or false. > > I hope this last bit makes any sense, quite hard to tell in a language > which is not your own. > > > Greetz Erik > >