public abstract class AbstractJdbc2Statement extends java.lang.Object implements BaseStatement
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractJdbc2Statement.StatementResultHandler |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
adjustIndex
used to differentiate between new function call
logic and old function call logic
will be set to true if the server is < 8.1 or
if we are using v2 protocol
There is an exception to this where we are using v3, and the
call does not have an out parameter before the call
|
protected java.util.ArrayList |
batchParameters |
protected java.util.ArrayList |
batchStatements |
protected java.lang.Object[] |
callResult |
protected int |
concurrency |
protected BaseConnection |
connection |
protected int |
fetchdirection |
protected int |
fetchSize
Number of rows to get in a batch.
|
protected ResultWrapper |
firstUnclosedResult
The first unclosed result.
|
protected ResultWrapper |
generatedKeys
Results returned by a statement that wants generated keys.
|
protected boolean |
isClosed |
protected Query |
lastSimpleQuery |
protected java.sql.SQLWarning |
lastWarning
The last warning of the warning chain.
|
protected int |
m_prepareThreshold |
protected int |
m_useCount |
protected int |
maxfieldSize |
protected int |
maxrows
Maximum number of rows to return, 0 = unlimited
|
protected boolean |
outParmBeforeFunc |
protected ParameterList |
preparedParameters |
protected Query |
preparedQuery |
protected boolean |
replaceProcessingEnabled |
protected ResultWrapper |
result
The current results.
|
protected int |
resultsettype |
protected int |
timeout
Timeout (in seconds) for a query (not used)
|
boolean |
wantsGeneratedKeysAlways
Was this PreparedStatement created to return generated keys for every
execution?
|
protected boolean |
wantsGeneratedKeysOnce
Does the caller of execute/executeUpdate want generated keys for this
execution?
|
protected java.sql.SQLWarning |
warnings
The warnings chain.
|
DATE_NEGATIVE_INFINITY, DATE_POSITIVE_INFINITY| Constructor and Description |
|---|
AbstractJdbc2Statement(AbstractJdbc2Connection c,
int rsType,
int rsConcurrency) |
AbstractJdbc2Statement(AbstractJdbc2Connection connection,
java.lang.String sql,
boolean isCallable,
int rsType,
int rsConcurrency) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
addBatch(java.lang.String p_sql) |
void |
addWarning(java.sql.SQLWarning warn)
This adds a warning to the warning chain.
|
protected void |
bindLiteral(int paramIndex,
java.lang.String s,
int oid) |
void |
cancel() |
protected void |
checkClosed() |
protected void |
checkIndex(int parameterIndex,
int type1,
int type2,
java.lang.String getName)
helperfunction for the getXXX calls to check isFunction and index == 1
Compare BOTH type fields against the return type.
|
protected void |
checkIndex(int parameterIndex,
int type,
java.lang.String getName)
helperfunction for the getXXX calls to check isFunction and index == 1
|
void |
clearBatch() |
void |
clearParameters() |
void |
clearWarnings() |
void |
close() |
protected void |
closeForNextExecution() |
java.sql.ResultSet |
createDriverResultSet(Field[] fields,
java.util.Vector tuples)
Create a synthetic resultset from data provided by the driver.
|
abstract java.sql.ResultSet |
createResultSet(Query originalQuery,
Field[] fields,
java.util.Vector tuples,
ResultCursor cursor)
Create a resultset from data retrieved from the server.
|
protected static java.lang.String |
escapeFunction(java.lang.String functionName,
java.lang.String args,
boolean stdStrings)
generate sql for escaped functions
|
boolean |
execute() |
protected void |
execute(Query queryToExecute,
ParameterList queryParameters,
int flags) |
boolean |
execute(java.lang.String p_sql) |
int[] |
executeBatch() |
java.sql.ResultSet |
executeQuery() |
java.sql.ResultSet |
executeQuery(java.lang.String p_sql) |
int |
executeUpdate() |
int |
executeUpdate(java.lang.String p_sql) |
boolean |
executeWithFlags(int flags)
Execute a prepared query, passing additional query flags.
|
boolean |
executeWithFlags(java.lang.String p_sql,
int flags)
Execute a query, passing additional query flags.
|
protected void |
finalize()
This finalizer ensures that statements that have allocated server-side
resources free them when they become unreferenced.
|
java.sql.Array |
getArray(int i) |
java.math.BigDecimal |
getBigDecimal(int parameterIndex) |
java.math.BigDecimal |
getBigDecimal(int parameterIndex,
int scale) |
java.sql.Blob |
getBlob(int i) |
boolean |
getBoolean(int parameterIndex) |
byte |
getByte(int parameterIndex) |
byte[] |
getBytes(int parameterIndex) |
java.sql.Clob |
getClob(int i) |
java.sql.Connection |
getConnection() |
java.sql.Date |
getDate(int parameterIndex) |
java.sql.Date |
getDate(int i,
java.util.Calendar cal) |
double |
getDouble(int parameterIndex) |
int |
getFetchDirection() |
java.lang.String |
getFetchingCursorName() |
int |
getFetchSize() |
float |
getFloat(int parameterIndex) |
int |
getInsertedOID() |
int |
getInt(int parameterIndex) |
long |
getLastOID()
Returns the Last inserted/updated oid.
|
long |
getLong(int parameterIndex) |
int |
getMaxFieldSize() |
int |
getMaxRows() |
java.sql.ResultSetMetaData |
getMetaData() |
boolean |
getMoreResults() |
java.lang.Object |
getObject(int parameterIndex) |
java.lang.Object |
getObjectImpl(int i,
java.util.Map map) |
BaseConnection |
getPGConnection() |
int |
getPrepareThreshold()
Gets the server-side prepare reuse threshold in use for this statement.
|
int |
getQueryTimeout() |
java.sql.Ref |
getRef(int i) |
java.sql.ResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetType() |
short |
getShort(int parameterIndex) |
java.lang.String |
getString(int parameterIndex) |
java.sql.Time |
getTime(int parameterIndex) |
java.sql.Time |
getTime(int i,
java.util.Calendar cal) |
java.sql.Timestamp |
getTimestamp(int parameterIndex) |
java.sql.Timestamp |
getTimestamp(int i,
java.util.Calendar cal) |
int |
getUpdateCount() |
java.sql.SQLWarning |
getWarnings() |
boolean |
isUseServerPrepare()
Checks if this statement will be executed as a server-prepared
statement.
|
protected static int |
parseSql(java.lang.String p_sql,
int i,
java.lang.StringBuffer newsql,
boolean stopOnComma,
boolean stdStrings)
parse the given sql from index i, appending it to the gven buffer
until we hit an unmatched right parentheses or end of string.
|
void |
registerOutParameter(int parameterIndex,
int sqlType,
boolean setPreparedParameters) |
void |
registerOutParameter(int parameterIndex,
int sqlType,
int scale,
boolean setPreparedParameters) |
void |
registerOutParameter(int parameterIndex,
int sqlType,
java.lang.String typeName) |
protected java.lang.String |
replaceProcessing(java.lang.String p_sql) |
void |
setArray(int i,
java.sql.Array x) |
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length) |
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal x) |
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length) |
void |
setBlob(int i,
java.sql.Blob x) |
void |
setBoolean(int parameterIndex,
boolean x) |
void |
setByte(int parameterIndex,
byte x) |
void |
setBytes(int parameterIndex,
byte[] x) |
void |
setCharacterStream(int i,
java.io.Reader x,
int length) |
void |
setClob(int i,
java.sql.Clob x) |
void |
setCursorName(java.lang.String name) |
void |
setDate(int parameterIndex,
java.sql.Date x) |
void |
setDate(int i,
java.sql.Date d,
java.util.Calendar cal) |
void |
setDouble(int parameterIndex,
double x) |
void |
setEscapeProcessing(boolean enable) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
void |
setFloat(int parameterIndex,
float x) |
void |
setInt(int parameterIndex,
int x) |
void |
setLong(int parameterIndex,
long x) |
void |
setMaxFieldSize(int max) |
void |
setMaxRows(int max) |
void |
setNull(int parameterIndex,
int sqlType) |
void |
setNull(int i,
int t,
java.lang.String s) |
void |
setObject(int parameterIndex,
java.lang.Object x) |
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType) |
void |
setObject(int parameterIndex,
java.lang.Object in,
int targetSqlType,
int scale) |
void |
setPrepareThreshold(int newThreshold)
Sets the reuse threshold for using server-prepared statements.
|
void |
setQueryTimeout(int seconds) |
void |
setRef(int i,
java.sql.Ref x) |
void |
setShort(int parameterIndex,
short x) |
void |
setString(int parameterIndex,
java.lang.String x) |
protected void |
setString(int parameterIndex,
java.lang.String x,
int oid) |
void |
setTime(int parameterIndex,
java.sql.Time x) |
void |
setTime(int i,
java.sql.Time t,
java.util.Calendar cal) |
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x) |
void |
setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar cal) |
void |
setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length) |
void |
setUseServerPrepare(boolean flag)
Turn on the use of prepared statements in the server (server side
prepared statements are unrelated to jdbc PreparedStatements)
As of build 302, this method is equivalent to
setPrepareThreshold(1). |
java.lang.String |
toString() |
protected boolean |
wantsHoldableResultSet() |
protected boolean |
wantsScrollableResultSet() |
boolean |
wasNull() |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected java.util.ArrayList batchStatements
protected java.util.ArrayList batchParameters
protected final int resultsettype
protected final int concurrency
protected int fetchdirection
protected boolean wantsGeneratedKeysOnce
public boolean wantsGeneratedKeysAlways
protected BaseConnection connection
protected java.sql.SQLWarning warnings
protected java.sql.SQLWarning lastWarning
protected int maxrows
protected int fetchSize
protected int timeout
protected boolean replaceProcessingEnabled
protected ResultWrapper result
protected ResultWrapper firstUnclosedResult
protected ResultWrapper generatedKeys
protected boolean adjustIndex
protected boolean outParmBeforeFunc
protected final Query preparedQuery
protected final ParameterList preparedParameters
protected Query lastSimpleQuery
protected int m_prepareThreshold
protected int m_useCount
protected java.lang.Object[] callResult
protected int maxfieldSize
protected boolean isClosed
public AbstractJdbc2Statement(AbstractJdbc2Connection c, int rsType, int rsConcurrency) throws java.sql.SQLException
java.sql.SQLExceptionpublic AbstractJdbc2Statement(AbstractJdbc2Connection connection, java.lang.String sql, boolean isCallable, int rsType, int rsConcurrency) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ResultSet createDriverResultSet(Field[] fields, java.util.Vector tuples) throws java.sql.SQLException
BaseStatementcreateDriverResultSet in interface BaseStatementfields - the column metadata for the resultsettuples - the resultset datajava.sql.SQLException - if something goes wrongpublic abstract java.sql.ResultSet createResultSet(Query originalQuery, Field[] fields, java.util.Vector tuples, ResultCursor cursor) throws java.sql.SQLException
BaseStatementcreateResultSet in interface BaseStatementoriginalQuery - the query that generated this resultset; used when dealing with updateable resultsetsfields - the column metadata for the resultsettuples - the resultset datacursor - the cursor to use to retrieve more data from the server; if null, no additional data is present.java.sql.SQLException - if something goes wrongpublic BaseConnection getPGConnection()
public java.lang.String getFetchingCursorName()
public int getFetchSize()
getFetchSize in interface java.sql.Statementprotected boolean wantsScrollableResultSet()
protected boolean wantsHoldableResultSet()
public java.sql.ResultSet executeQuery(java.lang.String p_sql)
throws java.sql.SQLException
executeQuery in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
java.sql.SQLExceptionpublic int executeUpdate(java.lang.String p_sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.Statementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean execute(java.lang.String p_sql)
throws java.sql.SQLException
execute in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean executeWithFlags(java.lang.String p_sql,
int flags)
throws java.sql.SQLException
BaseStatementexecuteWithFlags in interface BaseStatementp_sql - the query to executeflags - additional QueryExecutor flags for execution; these
are bitwise-ORed into the default flags.java.sql.SQLException - if something goes wrong.public boolean execute()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean executeWithFlags(int flags)
throws java.sql.SQLException
BaseStatementexecuteWithFlags in interface BaseStatementflags - additional QueryExecutor flags for execution; these
are bitwise-ORed into the default flags.java.sql.SQLException - if something goes wrong.protected void closeForNextExecution()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void execute(Query queryToExecute, ParameterList queryParameters, int flags) throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCursorName(java.lang.String name)
throws java.sql.SQLException
setCursorName in interface java.sql.Statementjava.sql.SQLExceptionpublic int getUpdateCount()
throws java.sql.SQLException
getUpdateCount in interface java.sql.Statementjava.sql.SQLExceptionpublic boolean getMoreResults()
throws java.sql.SQLException
getMoreResults in interface java.sql.Statementjava.sql.SQLExceptionpublic int getMaxRows()
throws java.sql.SQLException
getMaxRows in interface java.sql.Statementjava.sql.SQLExceptionpublic void setMaxRows(int max)
throws java.sql.SQLException
setMaxRows in interface java.sql.Statementjava.sql.SQLExceptionpublic void setEscapeProcessing(boolean enable)
throws java.sql.SQLException
setEscapeProcessing in interface java.sql.Statementjava.sql.SQLExceptionpublic int getQueryTimeout()
throws java.sql.SQLException
getQueryTimeout in interface java.sql.Statementjava.sql.SQLExceptionpublic void setQueryTimeout(int seconds)
throws java.sql.SQLException
setQueryTimeout in interface java.sql.Statementjava.sql.SQLExceptionpublic void addWarning(java.sql.SQLWarning warn)
warn - warning to addpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.Statementjava.sql.SQLExceptionpublic int getMaxFieldSize()
throws java.sql.SQLException
getMaxFieldSize in interface java.sql.Statementjava.sql.SQLExceptionpublic void setMaxFieldSize(int max)
throws java.sql.SQLException
setMaxFieldSize in interface java.sql.Statementjava.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface java.sql.Statementjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.Statementjava.sql.SQLExceptionprotected void finalize()
finalize in class java.lang.Objectprotected java.lang.String replaceProcessing(java.lang.String p_sql)
throws java.sql.SQLException
java.sql.SQLExceptionprotected static int parseSql(java.lang.String p_sql,
int i,
java.lang.StringBuffer newsql,
boolean stopOnComma,
boolean stdStrings)
throws java.sql.SQLException
p_sql - the original query texti - starting position for replacingnewsql - where to write the replaced outputstopOnComma - should we stop after hitting the first comma in sql text?stdStrings - whether standard_conforming_strings is onjava.sql.SQLExceptionprotected static java.lang.String escapeFunction(java.lang.String functionName,
java.lang.String args,
boolean stdStrings)
throws java.sql.SQLException
functionName - the escaped function nameargs - the arguments for this functinstdStrings - whether standard_conforming_strings is onjava.sql.SQLExceptionpublic int getInsertedOID()
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getLastOID()
throws java.sql.SQLException
PGStatementgetLastOID in interface PGStatementjava.sql.SQLExceptionpublic void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBoolean(int parameterIndex,
boolean x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setByte(int parameterIndex,
byte x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setShort(int parameterIndex,
short x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setInt(int parameterIndex,
int x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setLong(int parameterIndex,
long x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setFloat(int parameterIndex,
float x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDouble(int parameterIndex,
double x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void setString(int parameterIndex,
java.lang.String x,
int oid)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBytes(int parameterIndex,
byte[] x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDate(int parameterIndex,
java.sql.Date x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTime(int parameterIndex,
java.sql.Time x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object in,
int targetSqlType,
int scale)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void registerOutParameter(int parameterIndex,
int sqlType,
boolean setPreparedParameters)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void registerOutParameter(int parameterIndex,
int sqlType,
int scale,
boolean setPreparedParameters)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean wasNull()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getString(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean getBoolean(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte getByte(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic short getShort(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getInt(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic long getLong(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic float getFloat(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic double getDouble(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(int parameterIndex,
int scale)
throws java.sql.SQLException
java.sql.SQLExceptionpublic byte[] getBytes(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Date getDate(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Time getTime(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object getObject(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Objectprotected void bindLiteral(int paramIndex,
java.lang.String s,
int oid)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void checkIndex(int parameterIndex,
int type1,
int type2,
java.lang.String getName)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void checkIndex(int parameterIndex,
int type,
java.lang.String getName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setPrepareThreshold(int newThreshold)
throws java.sql.SQLException
PGStatement
If threshold is a non-zero value N, the Nth and subsequent
reuses of a PreparedStatement will use server-side prepare.
If threshold is zero, server-side prepare will not be used.
The reuse threshold is only used by PreparedStatement and CallableStatement objects; it is ignored for plain Statements.
setPrepareThreshold in interface PGStatementnewThreshold - the new threshold for this statementjava.sql.SQLException - if an exception occurs while changing the thresholdpublic int getPrepareThreshold()
PGStatementgetPrepareThreshold in interface PGStatementPGStatement.setPrepareThreshold(int)public void setUseServerPrepare(boolean flag)
throws java.sql.SQLException
PGStatementsetPrepareThreshold(1).setUseServerPrepare in interface PGStatementjava.sql.SQLExceptionpublic boolean isUseServerPrepare()
PGStatementtrue indicates that the next
execution of the statement will be done as a server-prepared statement,
assuming the underlying protocol supports it.isUseServerPrepare in interface PGStatementprotected void checkClosed()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void addBatch(java.lang.String p_sql)
throws java.sql.SQLException
addBatch in interface java.sql.Statementjava.sql.SQLExceptionpublic void clearBatch()
throws java.sql.SQLException
clearBatch in interface java.sql.Statementjava.sql.SQLExceptionpublic int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.Statementjava.sql.SQLExceptionpublic void cancel()
throws java.sql.SQLException
cancel in interface java.sql.Statementjava.sql.SQLExceptionpublic java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface java.sql.Statementjava.sql.SQLExceptionpublic int getFetchDirection()
getFetchDirection in interface java.sql.Statementpublic int getResultSetConcurrency()
getResultSetConcurrency in interface java.sql.Statementpublic int getResultSetType()
getResultSetType in interface java.sql.Statementpublic void setFetchDirection(int direction)
throws java.sql.SQLException
setFetchDirection in interface java.sql.Statementjava.sql.SQLExceptionpublic void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize in interface java.sql.Statementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setBlob(int i,
java.sql.Blob x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCharacterStream(int i,
java.io.Reader x,
int length)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setClob(int i,
java.sql.Clob x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNull(int i,
int t,
java.lang.String s)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setRef(int i,
java.sql.Ref x)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setDate(int i,
java.sql.Date d,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTime(int i,
java.sql.Time t,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Array getArray(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.math.BigDecimal getBigDecimal(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Blob getBlob(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Clob getClob(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.Object getObjectImpl(int i,
java.util.Map map)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Ref getRef(int i)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Date getDate(int i,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Time getTime(int i,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Timestamp getTimestamp(int i,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void registerOutParameter(int parameterIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
java.sql.SQLException