How set null to integer or long field

Daniel Guryca <[email protected]> Fri, 05 Aug 2005 11:23:53 +0200
Newsgroups gmane.comp.java.enhydra.dods
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1123233792-26505-40
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I have a problem with setting DB field which is of type INTEGER or BIGINT.

It is imposible to set this field with DO object to null value. (0 is 
saved instead of null) - because it accepts java int (long) types only.
It is also imposible to get null value from this field. (0 is return) - 
because it gets java int (long) types only.

So is there a way how to set or get a value of null for DB fields of 
type INTEGER or BIGINT?

Thank you for your help.


------------=_1123233792-26505-40
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1123233792-26505-40--