SyntaxFix
Write A Post
Hire A Developer
Questions
InputStream in = new FileInputStream(file); cstmt.setBinaryStream(1, in,file.length());
instead of this u need to use
InputStream in = new FileInputStream(file); cstmt.setBinaryStream(1, in,(int)file.length());