Request<EmployeeProxy> request = requestFactory.find(employee.stableId());
employee is just an EmployeeProxy instance.
What's wrong?
Request<EmployeeProxy> request = requestFactory.employeeRequest().findEmployee(employee.getId());
Not quite sure what all of this stableId stuff is. Anyone care to explain?
Subtypes should override to declare they return a stable id of their own type, to allow type safe use of the request objects returned by RequestFactory.find(EntityProxyId).