skip to main content
Interface Provider class : ipSetInfo
 

ipSetInfo

This method modifies the IP settings. ipSetInfo is used by the OpenAccess SDK SQL engine to pass configuration changes to the IP.
See Table 30 for the types of information that the IP can provide.
int ipSetInfo(
    int    iInfoType,
    String pInfoValue)
Table 29. Parameters for ipSetInfo
Parameter
Type
Description
INPUT
iInfoType
int
The type of information.
pInfoValue
String
A string buffer containing the information value.
RETURN
int
DAM_SUCCESS - on success
DAM_NOT_AVAILABLE - value not supported by IP
Table 30. Information Type for ipSetInfo
Information Type
Description
IP_INFO_QUALIFIER_NAMEW
The value of the current qualifier for the connection. The IP should return schema information based on the current qualifier.
IP_INFO_TXN_ISOLATION
Transaction isolation level that is being requested by the client. The IP can use this information to control how it locks the data it accesses. The value is an integer.
*SQL_TXN_READ_UNCOMMITTED
*SQL_TXN_READ_COMMITTED
*SQL_TXN_REPEATABLE_READ
*SQL_TXN_SERIALIZABLE