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
Package: com.apple.yellow.informixeoadaptor


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

public 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

public int connection()

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

disconnect

public 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

public int fetchesInProgress()

Returns the number of fetches the receiver has in progress.

hasTransactions

public boolean hasTransactions()

Returns true to indicate that the receiver has transactions in process, false otherwise.

isConnected

public boolean isConnected()

Returns true if the receiver has an open connection to the database, false otherwise.

See Also: connect, disconnect



isOnLine

public boolean isOnLine()

Returns true if the server is an Informix online server, false otherwise.


Table of Contents