Thank you for your replay. I don't think this is the problem. UserLocator and StuffLocator use the same find(Class<? extends T> clazz, I id) method from my GenericLocator. And it seems to be called properly.
I think i know what might be the problem. Hibernate load() method sometimes seems to return some kind of assist objects and the framework cant find a corresponding locator for them, so it looks inside the assist object class for static methods and doesn't find them. Replacing load() with get() fixed the problem. Two days lost. Copying tutorials isn't always beneficial :) On 6 Cze, 12:29, gwtomni gwtomni <[email protected]> wrote: > it seems like you don't have the method: > > public User find(Class<? extends User> clazz, String id) ; in your > locator UserLocator -- 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.
