You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Christopher Cheng <ch...@tictas.com> on 2006/02/16 10:18:41 UTC
How can I insert a null value into an int field?
I am using SQL Server 2000 and I want to insert a null value into a field
instead of 0.
How could I do that in OJB?
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org
Re: How can I insert a null value into an int field?
Posted by Thomas Franke <fr...@softenergy.de>.
Christopher Cheng wrote:
> I am using SQL Server 2000 and I want to insert a null value into a field
> instead of 0.
> How could I do that in OJB?
To insert also null values we use Integer, Long and so on instead of their
primitive complement.
regards,
Thomas
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org