Github user sandhyasun commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafodion/pull/1240#discussion_r140416054
  
    --- Diff: 
core/conn/jdbcT4/src/main/java/org/trafodion/jdbc/t4/TrafT4Lob.java ---
    @@ -91,23 +92,49 @@ public void read() throws SQLException {
                }
     
                T4Connection t4connection = 
this.connection_.getServerHandle().getT4Connection();
    -           LogicalByteArray wbuffer = 
ExtractLobMessage.marshal(ExtractLobMessage.LOB_EXTRACT_BUFFER, lobHandle_, 1, 
0,
    +           LogicalByteArray wbuffer = 
ExtractLobMessage.marshal(ExtractLobMessage.LOB_EXTRACT_LEN, lobHandle_, 1, 0,
                                connection_.ic_);
     
                LogicalByteArray rbuffer = 
t4connection.getReadBuffer(TRANSPORT.SRVR_API_EXTRACTLOB, wbuffer);
                ExtractLobReply reply = new ExtractLobReply(rbuffer, 
connection_.ic_);
    -           data_ = reply.lobDataValue;
    +           length = reply.lobLength;
    --- End diff --
    
    Ok that may be very large.  I thought we're supposed to return each chunk 
to application to consume ?  Will you implement that at next phase ? 


---

Reply via email to