Re: Request Factory: How can I return multiple versions of an Entity an a list
I've run into the same problem. Did you find a solution?
kl. 18:10:17 UTC+1 søndag 20. januar 2013 skrev Jeremy Raymond følgende:
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 unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home