Inherits from: EOAdaptor : NSObject
Package: com.apple.yellow.informixeoadaptor
An InformixAdaptor represents a single connection to an Informix database server, and is responsible for keeping login and model information, performing Informix-specific formatting of SQL expressions, and reporting errors.
The InformixAdaptor doesn't support full outer joins.
InformixAdaptor defines the following string constants for use as connection dictionary keys.
Constant | Corresponding value in the connection dictionary |
dbNameKey | The name of the database. |
userNameKey | The name of the user to log in as. |
passwordKey | The user's password. |
It defines a string constant for use as a key in an exception's userInfo dictionary (see raiseInformixError).
Constant | Corresponding value in an exception's userInfo dictionary |
InformixErrorKey | The error code raised in the Informix server. |
InformixAdaptor also defines a string constant to identify the user defaults domain for the Informix adaptor.
Constant | Description |
EOF_INFORMIX_ADAPTOR | The name of the user defaults domain for the Informix adaptor. |
- Mapping external types to internal types
- externalToInternalTypeMap
- Getting information from the connection dictionary
- informixConnectionString
- informixDefaultForKey
- informixPassword
- informixUserName
- connectionKeys
- Error handling
- raiseInformixError
- Preparing to connect
- prepareEnvironmentForConnect
- resetEnvironmentAfterConnect
- Callback methods
- informixContextDidDisconnect
- informixContextWillConnect
- Getting adaptor-specific classes
- adaptorContextClass
- adaptorChannelClass
public static NSDictionary externalToInternalTypeMap()
public Class adaptorChannelClass()
public Class adaptorContextClass()
public NSArray connectionKeys()
public String informixConnectionString()
public void informixContextDidDisconnect(InformixContext logon)
public void informixContextWillConnect(InformixContext logon)
public String informixDefaultForKey(String key)
public String informixPassword()
public String informixUserName()
public void prepareEnvironmentForConnect()
See Also: resetEnvironmentAfterConnect
public void raiseInformixError(String sqlString)
InformixErrorKey
.public void resetEnvironmentAfterConnect()