I've seen this as well.  My suspicion based on some debugging and breakpoint 
work is that the RequestFactory is properly retrieving the related objects 
using the relation, but then immediately querying them all again to verify 
their version numbers match the ones from the DB.  

I worked around this by configuring my Hibernate entity manager to cache the 
objects, so the extra lookup at least doesn't result in an extra DB query.

It would be nice to know if there is a way to disable this version check, or 
at least provide a mechanism to just do a simple query of just the version 
field, and not pull the entire object up.

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