Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
UPDATEDATETIME > to_date('"+TalendDate.formatDate("dd-MM-yyyy HH:mm:ss",globalMap.get("row2.UPDATEDATETIME"))+"','dd-MM-yyyy hh24:mi:ss')
Hi
Please take a close look at the date format you gave in your tOracleInput component and compare this with the one you provide in your tMySqlInput component.
UPDATEDATETIME > to_date('" globalMap.get("row2.UPDATEDATETIME") "','dd-MM-yyyy hh24:mi:ss') (must be Oracle notation)
compared to
"yyyy-MM-dd hh:mm:ss" (Java notation)
The correct Oracle notation would be DD-MM-YYYY HH24:MIS and the matching Java notation would be dd-MM-yyyy hh:mm:ss.
I am not sure if this is everything you need to resolve this. A type conversion between date and string may ne necessary as well.
Regards, Joachim
PS: you posted this issue twice. Could you please close the other one? It's https://www.talendforge.org/forum/viewtopic.php?id=54211
correct form must be something like : UPDATEDATETIME > to_date('"+TalendDate.formatDate("dd-MM-yyyy HH:mm:ss",globalMap.get("row2.UPDATEDATETIME"))+"','dd-MM-yyyy hh24:mi:ss')
it mean UDATEDATETIME - have date format as on attached picture