Hi to all, I'm still banging my head on this.
I was thinking if a custom ServiceLayerDecorator overriding the resolveDomainMethod could solve the issue? Thanks a lot On 8 abr, 12:24, mfiandesio <[email protected]> wrote: > Hi to all, > > I am trying to retrieve an object with Hibernate User which has a one- > to-many relationship with a Role object. > > This is mapped as a Collection<Role> roles but requestfactory > validation complains if the proxy interface has the method > Collection<RoleProxy> getRoles as the data type is not Set nor List. > > If i change the UserProxy method to Set<RoleProxy> getRoles it > complains that in the User object does not exists a matching datatype > method. > > All the hibernate mapped entity are in a jar that we use across > various applications and it would be quite painful to change all the > Collection<T> to a Set or a List. > > Is there any way to change the validation beahviour? > > Thanks a lot, > Matteo -- 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.
