Not all entity fields need to be Java types, just id for the key
generator.