Jesse,

  I switched my locator to use the EntityManager.find() interface, and it 
no longer flushes the session, even when it does query the database.   
 Thanks for the suggestion!  

  I admit I'm a bit of a n00b with Hibernate, do you know what the 
difference is between letting the EntityManager find the object and calling 
the javax.persistence.Query.getSingleResult() to find it that causes the 
flush to happen for the second and not the first?  Something to do with the 
Spring voodoo or the @Transactional annotations on the DAO perhaps?  I ask 
because these stray flushes have been a thorn in our heel for ages now.

Thanks,
Eric

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