Cursors > Extending the IldRequest Class Extending the IldRequest Class
It is not possible to derive from the class
IldRequest because the actual objects handled by your application are not instances of the
IldRequest base class but instances of
subclasses of this class.
If, for any reason, you need to extend the functionality of the Rogue Wave DB Link class IldRequest, you can retrieve the determining part for handling statements.
The member function
IldRequest::getHook returns it as a void pointer (
IlAny). The actual return value depends on the target RDBMS, as shown in
Table 4.5:
Values Returned by the Member Function IldRequest::getHook
With this Database System... | ...the getHook function returns | ...and lets you call the following database proprietary client interface. |
DB2 | the SQLHANDLE | CLI (Call Level Interface) |
Informix | the cursor name | Embedded SQL |
MS SQL Server | the pointer to the DBCURSOR structure | DB Library function |
ODBC | the HSTMT | ODBC functions |
OLE-DB | the pointer to the IDBCreateCommand structure | OLE-DB functions |
Oracle 9i, 10g and 11g | the pointer to the OCIStmt structure | OCI function |
Sybase | the pointer to the CS_COMMAND structure | Client Library functions |
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.