org.hsqldb
Interface ResultConstants


public interface ResultConstants

An enumeration of the request and response mode values used to communicate between the client and the engine when sending Result objects back and forth.

Since:
HSQLDB 1.7.2
Version:
1.7.2
Author:
boucher@users.sourceforge.net

Field Summary
static int BATCHEXECDIRECT
          Indicates that the Result object encapsulates a batch of statements
static int BATCHEXECUTE
          Indicates that the Result object encapsulates a batch of prepared statement parameter values
static int COMMIT
           
static int DATA
          Indicates that the Result object encapsulates a result set response containing data.
static int ERROR
          Indicates that the Result object encapsualtes an error response.
static int EXECUTE_FAILED
          batch item failed
static int GETSESSIONATTR
          Indicates that the Result object encapsulates a request to get session attributes.
static int HSQL_API_BASE
          The offset at which HSQLDB API Result mode values start.
static int MULTI
          Indicates that the Result object encapsulates multiple Result objects.
static int PARAM_META_DATA
          Indicates that the Result object encapsulates a result set response containing parameter metadata.
static int PREPARE_ACK
          Indicates that the Result object encapsulates a response that communicates the acknowlegement of newly allocated CompiledStatement object in the form of its statementID.
static int ROLLBACK
           
static int SAVEPOINT_NAME_RELEASE
           
static int SAVEPOINT_NAME_ROLLBACK
           
static int SETSESSIONATTR
          Indicates that the Result object encapsulates a result set for setting session attributes.
static int SQL_API_BASE
          The offset at which the standard SQL API Result mode values start.
static int SQL_ATTR_SAVEPOINT_NAME
           
static int SQLCONNECT
          Indicates that Result encapsulates a request to establish a connection.
static int SQLDISCONNECT
          Indicates that Result encapsulates a request to terminate an established connection.
static int SQLENDTRAN
          Indicates that Result encapsulates a request to terminate an SQL-transaction.
static int SQLEXECDIRECT
          Indicates that Result encapsulates a request to execute a statement directly.
static int SQLEXECUTE
          Indicates that Result encapsulates a request to execute a prepared statement.
static int SQLFREESTMT
          Indicates that Result encapsulates a request to deallocate an SQL-statement.
static int SQLPREPARE
          Indicates that Result encapsulates a request to prepare a statement.
static int SQLSETCONNECTATTR
          Indicates that Result encapsulates a request to set the value of an SQL-connection attribute.
static int SQLSTARTTRAN
          Indicates that Result encapsulates a request to explicitly start an SQL-transaction and set its characteristics.
static int SUCCESS_NO_INFO
          Batch item succeeded but does not generate an update count, for example a call having no return value
static int UPDATECOUNT
          Indicates that the Result object encapsulates an update count response.
 

Field Detail

HSQL_API_BASE

public static final int HSQL_API_BASE
The offset at which HSQLDB API Result mode values start.

See Also:
Constant Field Values

MULTI

public static final int MULTI
Indicates that the Result object encapsulates multiple Result objects.

See Also:
Constant Field Values

UPDATECOUNT

public static final int UPDATECOUNT
Indicates that the Result object encapsulates an update count response.

See Also:
Constant Field Values

ERROR

public static final int ERROR
Indicates that the Result object encapsualtes an error response.

See Also:
Constant Field Values

DATA

public static final int DATA
Indicates that the Result object encapsulates a result set response containing data.

See Also:
Constant Field Values

PREPARE_ACK

public static final int PREPARE_ACK
Indicates that the Result object encapsulates a response that communicates the acknowlegement of newly allocated CompiledStatement object in the form of its statementID.

See Also:
Constant Field Values

PARAM_META_DATA

public static final int PARAM_META_DATA
Indicates that the Result object encapsulates a result set response containing parameter metadata.

See Also:
Constant Field Values

SETSESSIONATTR

public static final int SETSESSIONATTR
Indicates that the Result object encapsulates a result set for setting session attributes.

See Also:
Constant Field Values

GETSESSIONATTR

public static final int GETSESSIONATTR
Indicates that the Result object encapsulates a request to get session attributes.

See Also:
Constant Field Values

BATCHEXECDIRECT

public static final int BATCHEXECDIRECT
Indicates that the Result object encapsulates a batch of statements

See Also:
Constant Field Values

BATCHEXECUTE

public static final int BATCHEXECUTE
Indicates that the Result object encapsulates a batch of prepared statement parameter values

See Also:
Constant Field Values

SQL_API_BASE

public static final int SQL_API_BASE
The offset at which the standard SQL API Result mode values start.

See Also:
Constant Field Values

SQLCONNECT

public static final int SQLCONNECT
Indicates that Result encapsulates a request to establish a connection.

See Also:
Constant Field Values

SQLDISCONNECT

public static final int SQLDISCONNECT
Indicates that Result encapsulates a request to terminate an established connection.

See Also:
Constant Field Values

SQLENDTRAN

public static final int SQLENDTRAN
Indicates that Result encapsulates a request to terminate an SQL-transaction.

See Also:
Constant Field Values

SQLEXECDIRECT

public static final int SQLEXECDIRECT
Indicates that Result encapsulates a request to execute a statement directly.

See Also:
Constant Field Values

SQLEXECUTE

public static final int SQLEXECUTE
Indicates that Result encapsulates a request to execute a prepared statement.

See Also:
Constant Field Values

SQLFREESTMT

public static final int SQLFREESTMT
Indicates that Result encapsulates a request to deallocate an SQL-statement.

See Also:
Constant Field Values

SQLPREPARE

public static final int SQLPREPARE
Indicates that Result encapsulates a request to prepare a statement.

See Also:
Constant Field Values

SQLSETCONNECTATTR

public static final int SQLSETCONNECTATTR
Indicates that Result encapsulates a request to set the value of an SQL-connection attribute.

See Also:
Constant Field Values

SQLSTARTTRAN

public static final int SQLSTARTTRAN
Indicates that Result encapsulates a request to explicitly start an SQL-transaction and set its characteristics.

See Also:
Constant Field Values

COMMIT

public static final int COMMIT
See Also:
Constant Field Values

ROLLBACK

public static final int ROLLBACK
See Also:
Constant Field Values

SAVEPOINT_NAME_ROLLBACK

public static final int SAVEPOINT_NAME_ROLLBACK
See Also:
Constant Field Values

SAVEPOINT_NAME_RELEASE

public static final int SAVEPOINT_NAME_RELEASE
See Also:
Constant Field Values

SQL_ATTR_SAVEPOINT_NAME

public static final int SQL_ATTR_SAVEPOINT_NAME
See Also:
Constant Field Values

EXECUTE_FAILED

public static final int EXECUTE_FAILED
batch item failed

See Also:
Constant Field Values

SUCCESS_NO_INFO

public static final int SUCCESS_NO_INFO
Batch item succeeded but does not generate an update count, for example a call having no return value

See Also:
Constant Field Values


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.