Thanks for reminding me about this in my PR for HHH-12054 for backporting
I'm planning to take a look at this, hopefully early next week.
On Wed, Jul 4, 2018 at 2:02 AM, Guillaume Smet <guillaume.smet(a)gmail.com>
Any thoughts on this one? Luis, I think your opinion would help.
replace() being currently final, we cannot override it in child classes so
I tried another approach trying to avoid breaking what has been exposed to
It's not pretty but I think it's the best we can do.
I still have a corner case when I don't know exactly what to do: what if
the original blob is null and the target blob is unfetched: should we set
the blob to null or initialize a new empty blob?
The current situation is:
1/ if original is null and target is null, it returns null
2/ if original is null but target is not null, it returns an empty blob
So the question is what should we do if original is null and target is
unfetched? Should we do 1/ or 2/?
hibernate-dev mailing list