This is from the Sakila-h2 model and happens occasionally in this model depending on JPA field order in the Staff class, but could be more frequent in other models.
The scaffold generator is unable to distinguish between array types and corresponding primitive types, thus resulting in code that is syntactically invalid, like:
where the picture field in the JPA entity is of type byte.
This also seems related to
FORGE-918 where information about array-types is lost.