向 oracle 存图片时,
已经先预存一条记录,select from for update 后,得到 结果集,从结果集中已取到 图片字段,放在个 blob 变量里,之后我应该如何从这个blob 里得到输出流?
pic 为 该blob 变量.BufferedOutputStream bos = new BufferedOutputStream(pic.setBinaryStream(1L));报出异常:
java.sql.SQLException: 不支持的特性去网上找,看他们的简写的代码 有
blob.getBinaryOutputStream(); 
我咋没有这个方法?