Function
|
Method Name
|
Description
|
CONNECT
Required
|
ipConnect
|
Called when a client wants to establish a connection with a data source served by the IP. Authentication information such as the user name and password are passed in.
The default value is DAM_SUCCESS.
If no return value is specified, the OpenAccess SDK SQL Engine assumes that the return value is DAM_SUCCESS.
The IP does not generate a DAM_FAILURE unless specified.
|
DCL
Optional
|
ipDCL
|
Execute a DCL command (create user, drop user, create role, drop role, grant, revoke).
|
DDL
Optional
|
ipDDL
|
Called by the OpenAccess SDK SQL Engine to process DDL commands like CREATE TABLE.
This method is only required if the IP indicates support for DDL Commands like CREATE TABLE, DROP TABLE in the Support Array.
|
DISCONNECT
Required
|
ipDisconnect
|
Closes the connection. The IP should close any files or other connections established on behalf of this connection.
|
DYNAMIC_RESULTS
Optional
|
ipProcedureDynamic
|
Called to invoke a stored procedure that returns one or more result sets that can be defined at runtime.
|
END TRANSACTION
Optional
|
ipEndTransaction
|
COMMIT or ROLLBACK the current transaction.
|
EXECUTE
Required
|
ipExecute
|
Called with INSERT, SELECT, UPDATE or DELETE operation code to perform the requested operation.
|
GETDSINFO
Optional
|
ipGetDSInfo
|
Called to obtain information about the data source such as the SQL capabilities, limits on object names, and other information that is needed. This method should be a member of the IP class that implements the IP interface.
|
GETINFO
Required
|
ipGetInfo
|
Gets information about the driver.
|
GET LONG DATA
Required
|
ipGetLongData
|
Gets information about the long data. This method should be a member of the IP class that implements the IP interface.
|
GETSUPPORT
Required
|
ipGetSupport
|
Gets information about what type of operations are supported by the driver. This information is used to determine what processing is passed down to the IP.
|
GET TYPES INFO
Optional
|
ipGetTypesInfo
|
Called to get information about the data types. This method should be a member of the IP class that implements the IP interface.
|
NATIVE
Optional
|
ipNative
|
Called to execute a command that the OpenAccess SDK SQL Engine did not recognize as a valid SQL command.
|
PRIVILEGE
Optional
|
ipPrivilege
|
Called to verify privileges on the specified user, object and operation combination.
|
PROCEDURE
Optional
|
ipProcedure
|
Called to invoke a stored procedure (only required if the IP is designed to support stored procedures with pre-defined result sets).
|
SCHEMA
Optional
|
ipSchema
|
Called to retrieve the schema information of your data source (only required if the IP will handle the schema management).
|
SCHEMAEX
Optional
|
ipSchemaEx
|
Called to retrieve schema information for stored procedures that define a result set at runtime (only required if the IP will handle the schema and will expose stored procedure with run-time defined result sets).
|
SETINFO
Required
|
ipSetInfo
|
Passes connection and statement level settings modified by the client to the IP.
|
START TRANSACTION
Optional
|
ipStartTransaction
|
Called to initiate a new transaction. The IP can use this entry point to perform transaction management for each connection.
|