| The same error occurred in the latest Hibernate master branch (5.5.0-SNAPSHOT) when using Informix JDBC Driver version 3.70.JC8.
@Lars Blomenkamp's suggestion helped with this version
@Override
public boolean useInputStreamToInsertBlob () {
return false;
}
Conversely, when using the Informix JDBC Driver version 4.10.JC12, everything is OK. If useInputStreamToInsertBlob () returns false, the database returns incorrect data.
The unit test is in the attachment InformixLobStringTest.java |