| java.lang.Object org.mandarax.jdbc.AbstractStatementImpl org.mandarax.jdbc.client.StatementImpl
All known Subclasses: org.mandarax.jdbc.client.PreparedStatementImpl,
fetchSize | protected int fetchSize(Code) | | |
StatementImpl | StatementImpl(Connection connection, Transport transport)(Code) | | Constructor.
Parameters: transport - the transport used Parameters: connection - the connection used |
execute | public boolean execute() throws SQLException(Code) | | Executes the given SQL statement, which may return multiple results.
|
executeQuery | public ResultSet executeQuery(String sql) throws SQLException(Code) | | Executes the given SQL statement, which returns a single ResultSet object.
Parameters: sql - a query a result set |
getFetchSize | public int getFetchSize()(Code) | | Get the fetch size. This is the number of rows fetched per request (buffer size).
a number |
getResultSet | public java.sql.ResultSet getResultSet() throws SQLException(Code) | | Retrieves the current result as a ResultSet object.
This method should be called only once per result.
|
setFetchSize | public void setFetchSize(int fetchSize)(Code) | | Set the fetch size. This is the number of rows fetched per request (buffer size).
Parameters: fetchSize - the new fetch size |
setId | public void setId(String id)(Code) | | Set the id.
Parameters: id - an id |
setObject | public void setObject(int parameterIndex, Object x) throws SQLException(Code) | | Set the object on a certain index.
Parameters: parameterIndex - the index Parameters: x - the object |
Methods inherited from org.mandarax.jdbc.AbstractStatementImpl | public void addBatch(String sql) throws SQLException(Code)(Java Doc) public void addBatch() throws SQLException(Code)(Java Doc) public void cancel() throws SQLException(Code)(Java Doc) public void clearBatch() throws SQLException(Code)(Java Doc) public void clearWarnings() throws SQLException(Code)(Java Doc) public void close() throws SQLException(Code)(Java Doc) public boolean execute() throws SQLException(Code)(Java Doc) public boolean execute(String sql) throws SQLException(Code)(Java Doc) public boolean execute(String sql, int autoGeneratedKeys) throws SQLException(Code)(Java Doc) public boolean execute(String sql, int[] columnIndexes) throws SQLException(Code)(Java Doc) public boolean execute(String sql, String[] columnNames) throws SQLException(Code)(Java Doc) public int[] executeBatch() throws SQLException(Code)(Java Doc) public int executeUpdate() throws SQLException(Code)(Java Doc) public int executeUpdate(String sql) throws SQLException(Code)(Java Doc) public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException(Code)(Java Doc) public int executeUpdate(String sql, int[] columnIndexes) throws SQLException(Code)(Java Doc) public int executeUpdate(String sql, String[] columnNames) throws SQLException(Code)(Java Doc) public Connection getConnection()(Code)(Java Doc) public int getFetchDirection() throws SQLException(Code)(Java Doc) public int getFetchSize() throws SQLException(Code)(Java Doc) public java.sql.ResultSet getGeneratedKeys() throws SQLException(Code)(Java Doc) public int getMaxFieldSize() throws SQLException(Code)(Java Doc) public int getMaxRows() throws SQLException(Code)(Java Doc) public ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc) public boolean getMoreResults() throws SQLException(Code)(Java Doc) public boolean getMoreResults(int current) throws SQLException(Code)(Java Doc) public ParameterMetaData getParameterMetaData() throws SQLException(Code)(Java Doc) public int getQueryTimeout() throws SQLException(Code)(Java Doc) public java.sql.ResultSet getResultSet() throws SQLException(Code)(Java Doc) public int getResultSetConcurrency() throws SQLException(Code)(Java Doc) public int getResultSetHoldability() throws SQLException(Code)(Java Doc) public int getResultSetType() throws SQLException(Code)(Java Doc) public int getUpdateCount() throws SQLException(Code)(Java Doc) public SQLWarning getWarnings() throws SQLException(Code)(Java Doc) protected void notSupported(String methodName)(Code)(Java Doc) protected void notSupportedThrowException(String methodName) throws SQLException(Code)(Java Doc) public void setArray(int i, Array x) throws SQLException(Code)(Java Doc) public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException(Code)(Java Doc) public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBlob(int i, Blob x) throws SQLException(Code)(Java Doc) public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc) public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc) public void setBytes(int parameterIndex, byte[] x) throws SQLException(Code)(Java Doc) public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code)(Java Doc) public void setClob(int i, Clob x) throws SQLException(Code)(Java Doc) public void setCursorName(String name) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, Date x) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException(Code)(Java Doc) public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc) public void setEscapeProcessing(boolean enable) throws SQLException(Code)(Java Doc) public void setFetchDirection(int direction) throws SQLException(Code)(Java Doc) public void setFetchSize(int rows) throws SQLException(Code)(Java Doc) public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc) public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc) public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc) public void setMaxFieldSize(int max) throws SQLException(Code)(Java Doc) public void setMaxRows(int max) throws SQLException(Code)(Java Doc) public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc) public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException(Code)(Java Doc) public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException(Code)(Java Doc) abstract public void setObject(int parameterIndex, Object x) throws SQLException(Code)(Java Doc) public void setQueryTimeout(int seconds) throws SQLException(Code)(Java Doc) public void setRef(int i, Ref x) throws SQLException(Code)(Java Doc) public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc) public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, Time x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc) public void setURL(int parameterIndex, URL x) throws SQLException(Code)(Java Doc) public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
|
|
|