Documentation Archive Developer
Search
[an error occurred while processing this directive] PATH  Documentation > WebObjects 4.5 > InformixEOAdaptor Reference

Table of Contents

InformixChannel


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:




Method Types


Finding table names
setInformixTableNamesSQL
informixTableNamesSQL
Setting the fetch buffer length
setFetchBufferLength
fetchBufferLength


Instance Methods



fetchBufferLength

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.

informixTableNamesSQL

public String informixTableNamesSQL()

Returns the SQL statement the receiver uses to find table names. The user default InformixTableNamesSQL overrides a statement set with setInformixTableNamesSQL.

setFetchBufferLength

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.

setInformixTableNamesSQL

public void setInformixTableNamesSQL(String sql)

Set the SQL statement the receiver uses to find table names to sql.


Table of Contents