solved it!
it turns out that sorting the collection returned from one of the entity's getters
(using collections.sort) make hibernate think i changed the entity.
i cloned the collection before sorting and it is solved - no more update query when the
transaction exits.
cool!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172805#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...