Hello !

I have a problem concerning a null value and Toque objects. 
I hava in my database tables containing fields of integer type whic can be null. When 
Torque maps these objects, it doesn't map this type with the Java objects 
corresponding, but with the native type. And so,  instead of creating a null object, 
it assigns a zero value to this field.

Example : 
    field  : name 
    type : integer, can be null

   Torque : if name is null, it puts name = (int) 0
                                        and NOT name = new Integer() = null

Is there a solution to make changes in Torque objects' generation to resolve this 
problem ?

Thank you by advance.

Ya�l.

Reply via email to