sql.eachRow "select * from table1",
{
///println it.id
String result = ""
blobTest = (oracle.sql.BLOB)it.mydoc
byte_stream_test = blobTest.getBinaryStream()
byte_stream_test.eachLine {charset->
result += charset+"\n" }
println result;
}
No comments:
Post a Comment