13 Replies Latest reply on Jan 6, 2008 4:28 PM by pmuir

    query object question...

      I am trying to use EntityQuery for display in a data table and use Seam pagination.

      I seem to get an error that atleast one value binding is required in the restriction.

      My query is something like this..

      from Employee, EmployeeComment

      Restriction

      Employee.employeeId=EmployeeComment.employeeId
      and Employee.employer=#{employer}

      My other question was if the value binding was not EL and was from an object, do I just say for example

      Employee.employeeId=EmployeeComment.employeeId
      and Employee.employer=:EmployeeAction.employeeId

      Thanks,

      M