This tutorial describes how to copy data from a database into a data stream.
You can read data from the table into a data stream in one chunk or in bits as desired.
The high level steps to read the data into a data stream are shown here:
To read the data into a data stream, do the following:
Configure your SQL statement and data stream
Clean up the stack.
Read data to a stream
Open the stream for read and associate the data with it.
Determine the column size.
Instantiate an object of the RBuf class. Create a buffer of the size of the column. Then read the data into the buffer.
Close the buffer.
Close the stream.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.