Inherits from: EOAdaptorChannel : NSObject
Declared in: OracleEOAdaptor/OracleChannel.h
OracleEOAdaptor/OracleDescription.h
An OracleChannel represents an independent communication channel to the database server its OracleAdaptor is connected to. All of an OracleChannel's operations take place within the context of transactions controlled or tracked by its OracleContext. An OracleContext can manage multiple OracleChannels, and a channel is associated with only one context.
The features OracleChannel adds to EOAdaptorChannel are as follows:
- Finding table names
- + oracleTableNamesSQL
- + setOracleTableNamesSQL:
- - describeTableNames
- Accessing the fetch buffer length
- - fetchBufferLength
- - setFetchBufferLength:
- Error handling
- - raiseOracleError
- - cursorDataArea
+ (NSString *)oracleTableNamesSQL
+ (void)setOracleTableNamesSQL:(NSString
*)sql
This setting is used by all OracleChannels in an application. You can specify a different SQL statement using the defaults write command, for example:
% defaults write NSGlobalDomain OracleTableNamesSQL "SELECT TABLE_NAME FROM..."Once you use setOracleTableNamesSQL: to specify
a setting, it supersedes values set with the defaults write
command.
- (struct cda_def *)cursorDataArea
cda_def
)
describing characteristics of the channel. Otherwise, returns NULL
.
This method is commonly used with the method raiseOracleError to
determine why an error occurred.- (NSArray *)describeTableNames
- (unsigned)fetchBufferLength
- (void)raiseOracleError
- (void)setFetchBufferLength:(unsigned)length