TALEND - default value for tmap component

I am using the tMap component. I have a date field with the default template as "dd-MM-yyyy". I just need to insert an empty value. I tried '01 -01-1900 ', "", TalendDate.getCurrentDate (): However, they gave errors.

Is there a way to insert only 01-01-1900 or Null Value with a data type like DATE?

+4
source share
2 answers

Try the TalendDate.parseDate () function ...

+2
source

you can just type null in the expression in tmap or use TalendDate.parseDate ("yyyy-MM-dd", "1900-01-01")

+1
source

Source: https://habr.com/ru/post/1629445/


All Articles