About NamedQueries

' and not '%Canceled' and not 'Finished'. I have entities for Job and Status with NamedQueries on Job ... interval:
@NamedQuery( name = "findFinishedJobsBetweenTimeIntervals",
query = "SELECT J FROM ... <:timeStampAfter AND " +
"JS.status = 'Finished'" ),
CANCELED Jobs between a time interval:
@NamedQuery

with field "type" GOOD found by the the NamedQuery does not correspond with the actual data present ... . That's it. Anyway...it's just a NamedQuery that is executed by an EntityManager. That's all. I would really appreciate a fix

Hi! I'm trying to compare 2 identical objects in SELECT with no success:
@Embeddable
public class PhoneNumber implements Serializable {
int countryCode;
long number; Which is a part of Customer object:
@MappedSuperclass
@NamedQueries({
@NamedQuery(
name