[an error occurred while processing this directive]
PATH
Documentation > WebObjects 4.5 >
InformixEOAdaptor Reference
Inherits
from: EOAdaptorChannel : NSObject
Package: com.apple.yellow.informixeoadaptor
Class Description
An InformixChannel represents an independent communication
channel to the database server its InformixAdaptor is connected
to. All of an InformixChannel's operations take place within the
context of transactions controlled or tracked by its InformixContext.
An InformixContext can manage multiple InformixChannels, and a channel
is associated with only one context.
The features InformixChannel adds to EOAdaptorChannel are
as follows:
- Informix-specific error handling (see InformixChannel.Delegate)
- The ability to configure the fetch buffer
- The ability to read a list of table names from the database
Method Types
- Finding table names
- setInformixTableNamesSQL
- informixTableNamesSQL
- Setting the fetch buffer
length
- setFetchBufferLength
- fetchBufferLength
Instance Methods
public int fetchBufferLength()
Returns the size, in bytes, of the fetch buffer.
The larger the buffer, the more rows can be returned for each round
trip to the server.
public String informixTableNamesSQL()
Returns the SQL statement the receiver uses
to find table names. The user default InformixTableNamesSQL overrides
a statement set with
setInformixTableNamesSQL.
public void setFetchBufferLength(int length)
Sets the size (in bytes) of the fetch buffer
to
length. The larger the buffer,
the more rows can be returned for each round trip to the server.
public void setInformixTableNamesSQL(String sql)
Set the SQL statement the receiver uses to find
table names to
sql.