oracle blob 字段的解析

前端之家收集整理的这篇文章主要介绍了oracle blob 字段的解析前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
oracle.sql.BLOB data = (oracle.sql.BLOB)resultSet.getBlob("data"); InputStream is = data.getBinaryStream(); BufferedReader reader = new BufferedReader(new InputStreamReader(is)); String s; StringBuilder sbBlobStr = new StringBuilder(); while( (s = reader.readLine()) != null) { sbBlobStr.append(s); }

猜你在找的Oracle相关文章