I am developing a filter to search for an entity.
The filter creates a proxy for the entity to seek, and then use this proxy
with RequestFactory.
The problem is that the entity being validated do not know why.
The request is:
*Request <List <EntityBaseProxy>> findByProxy (EntityBaseProxy proxy);*
Their counterpart on the server is:
*public List <EntityBase> findByProxy (EntityBase proxy) {
Query query = em.get (). CreateQuery ("from EntityBase and WHERE
e.namelike: arg1");
query.setParameter ("arg1" proxy.getName ());
List list = query.getResultList <EntityBase> ();
return list;
}*
The error I am getting is as follows:
*Caused by: java.lang.RuntimeException: The call failed on the server due
to aConstraintViolation
atcom.google.web.bindery.requestfactory.shared.Receiver.onFailure
(Receiver.java: 44) at com.google.web.bindery .
requestfactory.shared.Receiver.onViolation(Receiver.java: 66)
....
....*
*
*
Thanks!!!
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/ZwKqWqLB9UQJ.
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.