smironov wrote:
It looks like raw JDBC access to created table works fine.
Tracing in debugger shows that during Session.flash UPDATE "image" column OID (BLOB reference) is changed to another (e.g. was 85781, became 85782), but blob data can still be referenced by old OID.
You might have to define a trigger for update/delete. I'm not an expert, but search for "lo_manage" function and "trigger" keywords on the web to get more info on that.
Here's my problem though:
https://forum.hibernate.org/viewtopic.php?f=1&t=1005584