Che DB usi?

Cmq così dovrebbe andare:

Codice PHP:
PreparedStatement pstmt conn.prepareStatement ("INSERT INTO tabella (campoBLOB) VALUES (?)");
File fBlob = new File "tuoFile.ext" );
FileInputStream is = new FileInputStream fBlob );
pstmt.setBinaryStream (1is, (int) fBlob.length() );
pstmt.execute ();
...