Why does the DB2 PreparedStatement( in db2java.zip) truncate extra charatcer data when the length is more than the defined column length?.
Using a Statement throws an error but not while using a PreparedStatement. Why so?

Ho do I indicate to the driver to throw an error while using PreparedStatement in case the data to be inserted exceeds the defined column length?