Menu

#28 Support for NULL

Next_Release
open
nobody
8
2005-10-26
2005-07-24
No

NULLs are not currently addressed. Need to add in support.

One possible solution, submitted by Denis Flotat:

i added some boolean indicator :

public class DEF_STATIONEntity{

private System.String _LIBEL_STATION;
private System.String _MNEMO_STATION;
private System.Int32 _NUM_LIGNE;
private System.Int32 _NUM_STATION;
private System.Int32 _NUM_TYPE_STATION;
private System.Int32 _NUM_ZONE;

private System.Boolean _indLIBEL_STATION = false;
private System.Boolean _indMNEMO_STATION = false;
private System.Boolean _indNUM_LIGNE = false;
private System.Boolean _indNUM_STATION = false;
private System.Boolean _indNUM_TYPE_STATION =
false;
private System.Boolean _indNUM_ZONE = false;

public System.String LIBEL_STATION {
get {
return this._LIBEL_STATION;
}
set {
this._LIBEL_STATION = value; //
Set field value
this._indLIBEL_STATION = true; //
Set field indicator to NOT-NULL (automatically set on
'MapObject')
}
}
...

Discussion

  • Sean McCormack

    Sean McCormack - 2005-07-24
    • milestone: --> 512009
     
  • Sean McCormack

    Sean McCormack - 2005-07-24
    • priority: 7 --> 8
     
  • Sean McCormack

    Sean McCormack - 2005-10-26
    • milestone: 512009 --> Next_Release
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.