Hi

May I know if the interface defined in the RequestFactory service stub like
EmployeeRequest must be corresponding to a method defined in the entity?

Imagine that I already have a JPA entity class like the following, which has
a named query instead of a findAllEmployees()

@Entity
@NamedQuery(name = "findAllEmployees", query = "SELECT e FROM Employee e")
public class Employee {
...
/* public static List<Employee> findAllEmployees() { ... } */
}

Is it true that the EmployeeRequest cannot call and execute the named query
without the findAllEmployees()?


-- 

Hez

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to