Hibernate + Informix + Blob + byte array
问题 I have troubles saving a byte array to my Informix database, I'll show you how I'm trying: In Fichero.java among other things I have this: @Column(name="fichero", columnDefinition="blob") private byte[] contenido; I had to do that way because I can't get Informix+Hibernate to accept @Lob annotation (yes, I tried that extending Hibernate's dialect workaround but it doesn't work for me) Then I read a file and convert it to a bytearray this way: FileManager.java private byte[] fromFile2ByteArray