I've explained this to you multiple times now. This works exactly correct. A byte[] is not a java.sql.Blob no matter how much you want it to be