How To Return a Disconnected ADO Recordset From a Java COM Object (240086)
The information in this article applies to:
- Microsoft Visual J++ 6.0
- ActiveX Data Objects (ADO) 2.7
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
This article was previously published under Q240086 SUMMARY
This article describes how to create a COM object in Java that returns a disconnected ADO recordset created without a connection. This ADO recordset can then be used in a scripting language, Microsoft Visual Basic or Microsoft Visual C++.
The com.ms.wfc.data.Recordset class is a wrapper class that contains an ADO Recordset COM object. It is necessary to return this internal ADO recordset from the Java COM object instead of the wrapper class. To return the internal ADO Recordset class, use the getDataSource() method of the wrapper Recordset class.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB240086 |
---|
|