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

Table of Contents

InformixContext


Inherits from: EOAdaptorContext : NSObject
Declared in: InformixEOAdaptor/InformixContext.h




Class Description


An InformixContext represents a single transaction scope on the database server to which its adaptor object is connected. If the server supports multiple concurrent transaction sessions, the adaptor may have several adaptor contexts. An InformixContext may in turn have several InformixChannels, which handle actual access to the data on the server.

The features the InformixContext class adds to EOAdaptorContext are methods for setting Informix-specific characteristics for the context.




Method Types


Managing a connection to the server
- connect
- connection
- disconnect
- isConnected
Returning information about an InformixContext
- fetchesInProgress
- hasTransactions
Returns information about the server
- isOnLine


Instance Methods



connect

- (void)connect

Opens a connection to the database server. An InformixChannel sends this message to its InformixContext when the channel is about to open a connection to the server.

See Also: - disconnect



connection

- (long)connection

Returns an identifier for the receiver's connection to the server.

disconnect

- (void)disconnect

Closes a connection to the database server. An InformixChannel sends this message to its InformixContext when the channel is about to close a connection to the server.

See Also: - connect



fetchesInProgress

- (unsigned)fetchesInProgress

Returns the number of fetches the receiver has in progress.

hasTransactions

- (BOOL)hasTransactions

Returns YES to indicate that the receiver has transactions in process, NO otherwise.

isConnected

- (BOOL)isConnected

Returns YES if the receiver has an open connection to the database, NO otherwise.

See Also: - connect, - disconnect



isOnLine

- (BOOL)isOnLine

Returns YES if the server is an Informix online server, NO otherwise.


Table of Contents