You mustshould define that enum with constant values,
then then the values won't be instanceof something (maybe it doesn't like the enumeration for some other reason, but it still reads no enum constant).
public static final int STATUS_ACTIVE = 0; public static final int STATUS_ONBOARDING = 1; public static final int STATUS_NOT_VERIFIED = 2; public static final int STATUS_VERIFIED = 3; public static final int STATUS_SUSPENDED = 4; public static final int STATUS_INACTIVE = 5; public enum BusinessCustomersStatus { STATUS_ACTIVE, STATUS_ONBOARDING, STATUS_NOT_VERIFIED, STATUS_VERIFIED, STATUS_SUSPENDED, STATUS_INACTIVE } And @Enumerated probably should then be EnumType.ORDINAL:
@Enumerated(EnumType.ORDINAL) @Column(name = "status")