CharField (maxlength10, blankTrue, nullTrue) I want to change this column from CharField to IntegerField. ERROR Cannot cast type integer to character varying I would think every datatype should have at least one cast, the cast to a text or varchar. . 21. &183; bytea-specific. Focusing on array output (text), not string (text). From Greg Stark Date 18 April 2003, 173611. With TypedParameterValue, Hibernate doesnt have to derive type using value. . I&39;m probably missing something obvious, but I don&39;t see an efficient way to generate a 4 byte integer from a bytea string (could be big endian or little endian).