My understanding is that RF assumes you will be using the same persistence 
session for the duration of the request to prevent any perf issues here. 
Those find operations are done because RF considers the ID to be the only 
valid way to know that it has the latest copy of the object - every time it 
interacts with your persistence system, it does so through find.

Make sure you are using a single hibernate session for the entire request - 
my understanding is that if you are doing so, hibernate will return the same 
instances of those objects instead of looking up and creating a new copy.

-- 
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