You do have to read the doc carefully indeed. I got stuck for a little 
while, I thought I could get away by simply using "find" but no you need to 
use "findEntity", ie replace Entity by your entity name. This got me, 
because at first it worked with a single entity, but when I had two 
entities with relationships, it wouldn't work anymore. By changing the 
method names to respect the convention mentioned above, it worked fine.


On Wednesday, 25 April 2012 11:48:21 UTC+2, Thomas Broyer wrote:
>
>
>
> On Wednesday, April 25, 2012 11:34:56 AM UTC+2, Ashu wrote:
>>
>> could you please provide me the sample findby....() method for reference?
>>
>
> See 
> http://code.google.com/p/google-web-toolkit/source/browse/tags/2.4.0/samples/expenses/src/main/java/com/google/gwt/sample/expenses/server/domain/Expense.java#64
>  for 
> example (uses JPA for persistence) 
>

-- 
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/-/Ailfmb3jx1wJ.
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