String statement = " update BTEST set blob=? where id='2'";
 File f = new File("D:/ldap.java");
FileInputStream fis = new FileInputStream(f);
pstmt = con.prepareStatement(statement);
pstmt.setBinaryStream(1,fis,(int)f.length());
pstmt.execute();
pstmt.close();
con.close();
fis.close();
我的测试代码如上,这个文件(D:/ldap.java)5k,就不能正常更新。