1 Reply Latest reply on Sep 25, 2018 3:27 AM by Gaz in Oz

    Datetime field in object needs to be null instead of "0000-00-00 00:00:00"

    sarunas0919

      Hello,


      We have a driver which we have written in C and run as Erlang extension. Problem is when we assign a "null" to one of attribute (datetime) of the object, it appears as "0000-00-00 00:00:00" in the database. Not a "null" as we want. From a code perspective, we assign "OCI_IND_NULL" in the object decoding function if it's attribute needs to be "null" but maybe it is fault? Maybe there are other way what need to be assigned to the object datetime attribute if we want it to be a "null"?

       

      Thanks!