Kbase P133384: Java null value integers and logical come through as 0 and false when passing datasets between Java
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/16/2009 |
|
Status: Unverified
SYMPTOM(s):
Java null value integers and logical come through as 0 and false when passing datasets between Java and Progress via the appserver
Using xsi:nil="true" for integer and logical with ProDataGraph
Passing datasets between Java and Progress via the appserver
FACT(s) (Environment):
Windows 32 Intel
OpenEdge 10.1B03 Service Pack
CAUSE:
Bug # OE00172110
CAUSE:
The issue is to do with the Eclipse implementation we use to define the field data types. It uses Java primitive types which have default values.
FIX:
Upgrade to 10.1C0304 or later.
We can't change the default behavior now. A new property is made available in RunTimeProperties that can be set through the setDatasetNullInitials() method in order to initialize the integer and logical fields to null. i.e. RunTimeProperties.setDatasetNullInitials(true);