![Table of Contents](../../../../../../images/up.gif)
InformixAdaptor
Inherits from: EOAdaptor : NSObject
Package: com.apple.yellow.informixeoadaptor
Class Description
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.
Constants
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. |
Method Types
- 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
Static Methods
externalToInternalTypeMap
public static NSDictionary externalToInternalTypeMap()
Instance Methods
adaptorChannelClass
public Class adaptorChannelClass()
adaptorContextClass
public Class adaptorContextClass()
connectionKeys
public NSArray connectionKeys()
informixConnectionString
public String informixConnectionString()
informixContextDidDisconnect
public void informixContextDidDisconnect(InformixContext logon)
informixContextWillConnect
public void informixContextWillConnect(InformixContext logon)
informixDefaultForKey
public String informixDefaultForKey(String key)
informixPassword
public String informixPassword()
informixUserName
public String informixUserName()
prepareEnvironmentForConnect
public void prepareEnvironmentForConnect()
See Also: resetEnvironmentAfterConnect
raiseInformixError
public void raiseInformixError(String sqlString)
InformixErrorKey
.resetEnvironmentAfterConnect
public void resetEnvironmentAfterConnect()
![Table of Contents](../../../../../../images/up.gif)