Saving a document as a Blob into an OracleDatabase


I need to store documents and files which have been uploaded via the Upload-Component of Vaadin in my Oracle-Database. I’ve done this so many times, but not with the SQLContainer. I have everything set up, but when I want to commit the new Item it gives me the following Exception:

java.sql.SQLException: Data type for parameter 1 not supported by SQLContainer: oracle.jdbc.OracleBlob

How can I store the Byte in the Database?

I did it with procedure.
public OutputStream receiveUpload(String filename, String mimeType) {
nameFile= filename;
typeFile= mimeType;
output = new ByteArrayOutputStream();
return output;
and then
that you will use in procedure to upload