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.
connect
Opens a connection to the database server. InformixChannel sends this message to InformixContext when it (InformixChannel) is about to open a channel 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. InformixChannel sends this message to InformixContext when it (InformixChannel) has just closed a channel 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
, - isConnected
Returns YES if Is the server an Informix on-line server,
NO otherwise.