Entity looks like this:
@Getter @Setter @Entity public class Application { @Id private Long id; @Enumerated(EnumType.STRING) private ApplicationStatus status
You could convert to string before passing the params.