Hi!
I found that an interesting question, which I could not answer. But I found by accident a post in this thread:
http://forum.hibernate.org/viewtopic.php?p=2283471#2283471
where the author states
vilarneto wrote:
[...]This is expected, as stated everywhere: Hibernate detects changes in values by comparison, not by object identity (unless the property is a collection, which is not the case). There's even an example in Hibernate in Action, p. 74, where a getter returns new instances of Strings.
All the best,
René