Inherits from: EOAdaptorChannel : NSObject
Package: com.apple.yellow.oracleeoadaptorjava
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
public static String oracleTableNamesSQL()
public static void setOracleTableNamesSQL(String 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.
public NSArray describeTableNames()
public int fetchBufferLength()
public void raiseOracleError()
public void setFetchBufferLength(int length)