Enums cannot appear in targetEntity list