Cannot invoke toString() on the primitive type int

Primitive types do not have methods, as they are not objects in Java. You should use the matching class:

Integer.toString(item.getId());

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)