net.sf.farrago.jdbc
Interface FarragoStatement

All Superinterfaces:
Statement
All Known Implementing Classes:
FarragoJdbcEnginePreparedDdl, FarragoJdbcEnginePreparedNonDdl, FarragoJdbcEnginePreparedStatement, FarragoJdbcEngineStatement

public interface FarragoStatement
extends Statement

Extends the usual Statement interface with farrago features, viz exposes the farrago statement identifier.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/jdbc/FarragoStatement.java#9 $
Author:
mberkowitz

Field Summary
static String ERRMSG_IS_A_QUERY
           
static String ERRMSG_NOT_A_QUERY
           
static String ERRMSG_REQ_NON_NEG
           
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Method Summary
 long getFarragoExecutingStmtId()
           
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Field Detail

ERRMSG_NOT_A_QUERY

static final String ERRMSG_NOT_A_QUERY
See Also:
Constant Field Values

ERRMSG_IS_A_QUERY

static final String ERRMSG_IS_A_QUERY
See Also:
Constant Field Values

ERRMSG_REQ_NON_NEG

static final String ERRMSG_REQ_NON_NEG
See Also:
Constant Field Values
Method Detail

getFarragoExecutingStmtId

long getFarragoExecutingStmtId()
                               throws SQLException
Returns:
a non-zero identifier, unique for each executing statement
Throws:
SQLException