I\'m trying to save a CLOB into the database and recovering it, but I\'m getting an SQLException:
Caused by: java.sql.SQLException: Lob read/write functions
I encountered a similar problem in one of the projects, setting
updatable = false
fixed the issue for me.
Example:
@Lob @Column(name = "CONTENT", updatable = false) Blob content;
Hibernate somehow tries to re-save the content, even when it was not changed.