I'm not very sure, but I can guess the reason.
In hibernate-proxy, one-entity, two objects (1) The proxy object whose byte code has been modified by javassist. Becareful, all the fields are not used! (2) The real target object(If it is loaded), it's wraped by the proxy object.
Javassists overrides all the methods (include "setSkipProcessingData") to inovke the corresponding methods (include "setSkipProcessingData") of real target objects, that why the field of wrapper object will never be changed.
If it can't resolve your problem, keep touch(Note: I'm in China, time range is diff so maybe the reply will be delayed)
__________________________________ By the way: Help me to let more friends know: https://github.com/babyfish-ct/babyfish
|