TDI-31486: fix 65535 issue for tDB2Output
https://jira.talendforge.org/browse/TDI-31486