The issue is basically happening, when i am comparing a string whose length is greater than 255+ with a column value, whose code is as follows,
transaction {