I need to update an Object. I fetch it. The object is a Persistent Object. Now.. If I change any properties, because is a persistent (not detached) object, any varations is immediately saved? I need to call a function? Or when session is flushed, the modification are stored?
If it is a persistent object, the changes will be saved when the session is flushed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With