I believe I am trying to add a predicate to an EJB query and am getting a method signature error. Rather than describe an Expression,
my code describes a criteria.Path<java.lang.Object> I am trying to follow examples but am pretty confused.
The compile error is on line 72 as described above.
The Salesrecords entity follows:
posted 5 years ago
Not sure what your trying to do, but the line should rpobably be,
typedQuery.where(criteriaBuilder.ge(from.get("senttogrower"), new Integer(arg1)));
Your error is probably from the int, but including the full error would help.