mercredi 1 avril 2015

Comparing two values in java that fetched from MSSQL

Hi i'm new to talend tool. While practicing i came through this. Its one of our previous project. I know how to compare two rows using NOT EQUAL in java, but this looks pretty different..


For example Comparison of two strings in java



(!row1.nts_vcr.equals(row2.nts_vcr))


and comparison of two integer in java



(row1.SOC!=row2.SOC)


I dunno what the below statement means



(!(row1.cntnr_id==row2.cntnr_id ))||
(!(row1.cntnr_sz_id==row2.cntnr_sz_id))||
(!(row1.cntnr_typ_id==row2.cntnr_typ_id))||
(!(row1.cntnr_stts_id==row2.cntnr_stts_id))

Aucun commentaire:

Enregistrer un commentaire