Non-buffering Rowsets with OLEDB Provider Templates

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

is it possible to write an OLE DB provider using the provider templates that does not buffer all data of a rowset in the m_rgRowData array?

I am going to have rather large amounts of data in a single rowset, so buffering all data in this array would be senseless.
I would like to fetch the rows chunk-wise from the underlying system and provide forward-only access to them.


Would I have to write a custom implementation of IRowset (to get along without IRowsetImpl) and pass this class as template argument to CRowsetImpl? Which interfaces would I have to re-implement as well? Or is there an easier way to do it?

Unfortunatly, all sample providers I found use full buffering.

Thanks in advance,
  Jo
.