onUpdate callback method of interface LifeCycle not called while calling saveOrUpdate of session, but onSave called.
When I use the close/open strategy, onUpdate method will be called when saveOrUpate an entity. But if changed to disconnect/reconnect strategy, the onUpdate won't be called. Does it make sense?
I traced the source code of SessionImpl, I found in saveOrUpdate method, if getEntry() not returns null, then it won't do save or update action!!! why?
How to make it call back onUpdate always?
thanks,
Matt
|