If a bytecode-enhanced entity with a lazy field is updated, the update of that field is issued correctly only if all lazy properties are initialized, including e.g. collections.
This is what my test case shows: The lazy property longText is not updated unless the OneToMany collection children is loaded.
There have been two other issues describing this: (opened by Petras Petkus) and (opened by me). Both issues have been closed, but IMHO the problem is not fixed.
I'll be happy to verify this on trunc as soon as it's fixed, just let me know.
JPA, Java 8, Oracle/H2