Purpose
| Specifies not to specify the initial current record for a new RelationView.
Syntax
| public final static String REC_POS_NOPOS
|
Variable: UNIQUE
Purpose
| Specifies the unique value for an optimistic concurrency setting.
|
Syntax
| public final static String UNIQUE
|
Variable: UNIQUE_MODIFIED
Purpose
| Specifies the unique modified value for an optimistic concurrency setting.
|
Syntax
| public final static String UNIQUE_MODIFIED
|

Constructor index |
Variable index |
Method index |
Top |
Bottom
Constructor: Request
Purpose
| Creates a Request object.
|
Syntax
| public Request(Session sess,
ConnectionInfo conn)
|
Parameters
| sess = Session object.
conn = ConnectionInfo object.
|
Description
| Creates a Request object.
|

Constructor index |
Variable index |
Method index |
Top |
Bottom
Method: executeRequest
Purpose
| Executes a SQL statement.
|
Syntax
| public RelationView executeRequest( ) throws SQLException
|
Parameters
| None.
|
Description
| Executes a SQL statement.
|
Method: getConnectionInfo
Purpose
| Returns connection information.
|
Syntax
| public ConnectionInfo getConnectionInfo( )
|
Parameters
| None.
|
Description
| Returns connection information.
|
Method: getOptConc
Purpose
| Returns an optimistic concurrency setting.
|
Syntax
| protected int getOptConc( )
|
Parameters
| None.
|
Description
| Returns an optimistic concurrency setting.
|
Method: getRequestProperties
Purpose
| Returns properties.
|
Syntax
| public Properties getRequestProperties( )
|
Parameters
| None.
|
Description
| Returns properties.
|
Method: getSQL
Purpose
| Returns a SQL statement.
|
Syntax
| public String getSQL( )
|
Parameters
| None.
|
Description
| Returns a SQL statement.
|
Method: setConnectionInfo
Purpose
| Sets connection information.
|
Syntax
| public void setConnectionInfo(ConnectionInfo conn)
|
Parameters
| conn = ConnectionInfo object.
|
Description
| Sets connection information.
|
Method: setRequestProperties
Purpose
| Sets Request properties.
|
Syntax
| public void setRequestProperties(Properties requestProps)
|
Parameters
| requestProps = Request properties. This object defines the following properties:
Property |
Description |
optConc |
Optimistic concurrency setting for the RelationView created by the SQL statement. The default value is UNIQUE_MODIFIED. Possible values:
UNIQUE
UNIQUE_MODIFIED
ALL
|
recPosition |
Initial record position for the RelationView created by the SQL statement. Possible values:
REC_POS_FIRST
REC_POS_NEW
REC_POS_NOPOS
The default value is REC_POS_NOPOS. |
|
Description
| Sets Request properties. Since these properties have default values, you don't need to call setRequestProperties to execute a Request.
|
See also
| RelationView
|
Method: setSQL
Purpose
| Sets a SQL statement.
|
Syntax
| public void setSQL(String sql)
|
Parameters
| sql = SQL statement.
|
Description
| Sets a SQL statement.
|
Constructor index |
Variable index |
Method index |
Top
Copyright © 1996 Symantec Corporation. All rights reserved.
|