e.bergersjo wrote:
Normally dirty means unsaved, i.e. new or modified. In other words something has been added to or removed from the collection since the owning object was last read from or saved to the database.
First of all, thanks for reply. :)
Second: Maybe Im not getting this - I thought the point of Hibernate was that I could get a graph of objects representing records from the DB, modify these Java objects and then write back to DB.
According to your definition (which I appreciate) this approach will *always* be dirty because "something has been added to or removed from the collection since the owning object was last read"????