@NamedQuery(name = "Depv.findByParameters", query = "SELECT d FROM Depv d " + " where (d.depvPk.defoFeinere = :defoFeinere AND d.depvPk.depoFeinere = :depoFeinere)" +" OPTIMIZE FOR 1 ROW "), this is the query its showing exception : The expression is not a valid conditional expression but the query is right |