I'm using Hibernate envers to keep a history of my entities. To display the 
history of an entity I want to transfer a list of different versions of the 
entity to the client. When I return a list of different versions of the 
same entity through Request Factory I get the correct number of items 
client side, but they are all the same. I don't get the different versions 
of the entity. It looks like RF is detecting that all the entities in the 
list have the same ID, so it's only transferring the first item to the 
client then duplicating it in the list client side. If I fudge the entity 
IDs in the list so that they are all different all items come across the 
the client.

Is there a better way to the different versions of the entity to come down 
to the client in a single list other than fudging the IDs?

-- 
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/-/1FCnZi2VdqcJ.
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