In Hibernate in Action, p. 122, it is stated that
'Nevertheless, itÂ’s possible to build a complex application with identity
(default) equals as long as you exercise discipline when dealing with detached
objects from different sessions
(and keep an eye on serialization and deserialization).'

What kind of discipline should be exercised concerning detached objects from different sessions?

Thanks,

Veronym