java.lang.IllegalArgumentException: You have attempted to set a value of type class br.com.h4.controleatividades.domain.model.Status for parameter status with expected type of class br.com.h4.controleatividades.domain.model.Status from query string SELECT a FROM Atividade a WHERE a.status = :status ORDER BY a.prioridade DESC.
at org.eclipse.persistence.internal.jpa.QueryImpl.setParameterInternal(QueryImpl.java:827)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setParameter(EJBQueryImpl.java:546)