Hi!
I dont know a way to this with DODS using int and long java primitive
types.
If you really need to set and get a value of null for fields of type
INTEGER or BIGINT use the java Object wrappers Integer and Long instead
of the primitive types.
I hope this help.
Best regards.
João Paulo Ribeiro
Daniel Guryca wrote:
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.
--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
João Paulo Ribeiro | Senior Software Engineer
jp@xxxxxxxxxxxx
PHONE: + 351 253 305 250
FAX : + 351 253 305 250
www.mobicomp.com
________________________________________________________________
About Solutions | Wireless World
CONFIDENTIALITY NOTICE: This message, as well as existing attached files, is confidential and intended exclusively for the individual(s) named as addressees. If you are not the intended recipient, you are kindly requested not to make any use whatsoever of its contents and to proceed to the destruction of the message, thereby notifying the sender.
DISCLAIMER: The sender of this message can not ensure the security of its electronic transmission and consequently does not accept liability for any fact which may interfere with the integrity of its content.
|
--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe:
mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help:
mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
|