Hi,
I am using the latest hibernate version and have EHCache configured as second level cache.
I have an object class Person that has a colleciton of Pet objects.
Now say I have a person instance "John" that has a pet "wauwau". If I save the object "John" to the database, the whole object tree is put into the second level cache. This includes the "wauwau" object.
Now, what happens, if I modify some attributes of the "wauwau" object and save that object to the database. Will the object in the collection be updated?
|