PATH  WebObjects 4.0 Documentation > SybaseEOAdaptor Reference



OracleContext

Inherits From:
EOAdaptorContext : NSObject

Inherits From:
com.apple.yellow.oracleeoadaptorjava


Class Description

An OracleContext 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 OracleContext may in turn have several OracleChannels, which handle actual access to the data on the server.


Method Types

Managing a connection to the server
connect
disconnect
isConnected
Returning information about an OracleContext
fetchesInProgress

Instance Methods


connect

public void connect()

Opens a connection to the database server. OracleChannel sends this message to OracleContext when it (OracleChannel) is about to open a channel to the server.

See also: disconnect


disconnect

public void disconnect()

Closes a connection to the database server. OracleChannel sends this message to OracleContext when it (OracleChannel) has just closed a channel to the server.

See also: connect


fetchesInProgress

public int fetchesInProgress()

Returns the number of fetches the receiver has in progress.


isConnected

public boolean isConnected()

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

See also: connect, disconnect






Copyright © 1998, Apple Computer, Inc. All rights reserved.