|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.postgresql.jdbc2.AbstractJdbc2Statement
public abstract class AbstractJdbc2Statement
This class defines methods of the jdbc2 specification. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2Statement
| Nested Class Summary | |
|---|---|
class |
AbstractJdbc2Statement.StatementResultHandler
|
| Field Summary | |
|---|---|
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 boolean |
isClosed
|
protected Query |
lastSimpleQuery
|
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) |
protected java.sql.SQLWarning |
warnings
The warnings chain. |
| Fields inherited from interface org.postgresql.PGStatement |
|---|
DATE_NEGATIVE_INFINITY, DATE_POSITIVE_INFINITY |
| 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 |
| Constructor Summary | |
|---|---|
AbstractJdbc2Statement(AbstractJdbc2Connection c,
int rsType,
int rsConcurrency)
|
|
AbstractJdbc2Statement(AbstractJdbc2Connection connection,
java.lang.String sql,
boolean isCallable,
int rsType,
int rsConcurrency)
|
|
| Method Summary | |
|---|---|
void |
addBatch()
|
void |
addBatch(java.lang.String p_sql)
|
void |
addWarning(java.sql.SQLWarning warn)
This adds a warning to the warning chain. |
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()
|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.sql.Statement |
|---|
execute, execute, execute, executeUpdate, executeUpdate, executeUpdate, getGeneratedKeys, getMoreResults, getResultSetHoldability |
| Field Detail |
|---|
protected java.util.ArrayList batchStatements
protected java.util.ArrayList batchParameters
protected final int resultsettype
protected final int concurrency
protected int fetchdirection
protected BaseConnection connection
protected java.sql.SQLWarning warnings
protected int maxrows
protected int fetchSize
protected int timeout
protected boolean replaceProcessingEnabled
protected ResultWrapper result
protected ResultWrapper firstUnclosedResult
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
| Constructor Detail |
|---|
public AbstractJdbc2Statement(AbstractJdbc2Connection c,
int rsType,
int rsConcurrency)
throws java.sql.SQLException
java.sql.SQLException
public AbstractJdbc2Statement(AbstractJdbc2Connection connection,
java.lang.String sql,
boolean isCallable,
int rsType,
int rsConcurrency)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public java.sql.ResultSet createDriverResultSet(Field[] fields,
java.util.Vector tuples)
throws java.sql.SQLException
BaseStatement
createDriverResultSet in interface BaseStatementfields - the column metadata for the resultsettuples - the resultset data
java.sql.SQLException - if something goes wrong
public abstract java.sql.ResultSet createResultSet(Query originalQuery,
Field[] fields,
java.util.Vector tuples,
ResultCursor cursor)
throws java.sql.SQLException
BaseStatement
createResultSet 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.SQLException
public java.sql.ResultSet executeQuery()
throws java.sql.SQLException
java.sql.SQLException
public int executeUpdate(java.lang.String p_sql)
throws java.sql.SQLException
executeUpdate in interface java.sql.Statementjava.sql.SQLException
public int executeUpdate()
throws java.sql.SQLException
java.sql.SQLException
public boolean execute(java.lang.String p_sql)
throws java.sql.SQLException
execute in interface java.sql.Statementjava.sql.SQLException
public boolean executeWithFlags(java.lang.String p_sql,
int flags)
throws java.sql.SQLException
BaseStatement
executeWithFlags 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.SQLException
public boolean executeWithFlags(int flags)
throws java.sql.SQLException
BaseStatement
executeWithFlags 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 execute(Query queryToExecute,
ParameterList queryParameters,
int flags)
throws java.sql.SQLException
java.sql.SQLException
public void setCursorName(java.lang.String name)
throws java.sql.SQLException
setCursorName in interface java.sql.Statementjava.sql.SQLException
public int getUpdateCount()
throws java.sql.SQLException
getUpdateCount in interface java.sql.Statementjava.sql.SQLException
public boolean getMoreResults()
throws java.sql.SQLException
getMoreResults in interface java.sql.Statementjava.sql.SQLException
public int getMaxRows()
throws java.sql.SQLException
getMaxRows in interface java.sql.Statementjava.sql.SQLException
public void setMaxRows(int max)
throws java.sql.SQLException
setMaxRows in interface java.sql.Statementjava.sql.SQLException
public void setEscapeProcessing(boolean enable)
throws java.sql.SQLException
setEscapeProcessing in interface java.sql.Statementjava.sql.SQLException
public int getQueryTimeout()
throws java.sql.SQLException
getQueryTimeout in interface java.sql.Statementjava.sql.SQLException
public 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 add
public java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.Statementjava.sql.SQLException
public int getMaxFieldSize()
throws java.sql.SQLException
getMaxFieldSize in interface java.sql.Statementjava.sql.SQLException
public void setMaxFieldSize(int max)
throws java.sql.SQLException
setMaxFieldSize in interface java.sql.Statementjava.sql.SQLException
public void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.Statementjava.sql.SQLException
public java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface java.sql.Statementjava.sql.SQLException
public void close()
throws java.sql.SQLException
close in interface java.sql.Statementjava.sql.SQLExceptionprotected void finalize()
finalize in class java.lang.Object
protected java.lang.String replaceProcessing(java.lang.String p_sql)
throws java.sql.SQLException
java.sql.SQLException
protected 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 on
java.sql.SQLException
protected 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 on
java.sql.SQLException
public int getInsertedOID()
throws java.sql.SQLException
java.sql.SQLException
public long getLastOID()
throws java.sql.SQLException
PGStatement
getLastOID in interface PGStatementjava.sql.SQLException
public void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
java.sql.SQLException
public void setBoolean(int parameterIndex,
boolean x)
throws java.sql.SQLException
java.sql.SQLException
public void setByte(int parameterIndex,
byte x)
throws java.sql.SQLException
java.sql.SQLException
public void setShort(int parameterIndex,
short x)
throws java.sql.SQLException
java.sql.SQLException
public void setInt(int parameterIndex,
int x)
throws java.sql.SQLException
java.sql.SQLException
public void setLong(int parameterIndex,
long x)
throws java.sql.SQLException
java.sql.SQLException
public void setFloat(int parameterIndex,
float x)
throws java.sql.SQLException
java.sql.SQLException
public void setDouble(int parameterIndex,
double x)
throws java.sql.SQLException
java.sql.SQLException
public void setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
java.sql.SQLException
public void setString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
java.sql.SQLException
protected void setString(int parameterIndex,
java.lang.String x,
int oid)
throws java.sql.SQLException
java.sql.SQLException
public void setBytes(int parameterIndex,
byte[] x)
throws java.sql.SQLException
java.sql.SQLException
public void setDate(int parameterIndex,
java.sql.Date x)
throws java.sql.SQLException
java.sql.SQLException
public void setTime(int parameterIndex,
java.sql.Time x)
throws java.sql.SQLException
java.sql.SQLException
public void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
java.sql.SQLException
public void setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void clearParameters()
throws java.sql.SQLException
java.sql.SQLException
public void setObject(int parameterIndex,
java.lang.Object in,
int targetSqlType,
int scale)
throws java.sql.SQLException
java.sql.SQLException
public void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
throws java.sql.SQLException
java.sql.SQLException
public void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
java.sql.SQLException
public void registerOutParameter(int parameterIndex,
int sqlType,
boolean setPreparedParameters)
throws java.sql.SQLException
java.sql.SQLException
public void registerOutParameter(int parameterIndex,
int sqlType,
int scale,
boolean setPreparedParameters)
throws java.sql.SQLException
java.sql.SQLException
public boolean wasNull()
throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getString(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public boolean getBoolean(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public byte getByte(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public short getShort(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public int getInt(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public long getLong(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public float getFloat(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public double getDouble(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int parameterIndex,
int scale)
throws java.sql.SQLException
java.sql.SQLException
public byte[] getBytes(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Date getDate(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Time getTime(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getObject(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
protected void checkIndex(int parameterIndex,
int type1,
int type2,
java.lang.String getName)
throws java.sql.SQLException
java.sql.SQLException
protected void checkIndex(int parameterIndex,
int type,
java.lang.String getName)
throws java.sql.SQLException
java.sql.SQLException
public 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 statement
java.sql.SQLException - if an exception occurs while changing the thresholdpublic int getPrepareThreshold()
PGStatement
getPrepareThreshold 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 PGStatement
protected void checkClosed()
throws java.sql.SQLException
java.sql.SQLException
public void addBatch(java.lang.String p_sql)
throws java.sql.SQLException
addBatch in interface java.sql.Statementjava.sql.SQLException
public void clearBatch()
throws java.sql.SQLException
clearBatch in interface java.sql.Statementjava.sql.SQLException
public int[] executeBatch()
throws java.sql.SQLException
executeBatch in interface java.sql.Statementjava.sql.SQLException
public void cancel()
throws java.sql.SQLException
cancel in interface java.sql.Statementjava.sql.SQLException
public 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.Statement
public void setFetchDirection(int direction)
throws java.sql.SQLException
setFetchDirection in interface java.sql.Statementjava.sql.SQLException
public void setFetchSize(int rows)
throws java.sql.SQLException
setFetchSize in interface java.sql.Statementjava.sql.SQLException
public void addBatch()
throws java.sql.SQLException
java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLException
public void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
java.sql.SQLException
public void setBlob(int i,
java.sql.Blob x)
throws java.sql.SQLException
java.sql.SQLException
public void setCharacterStream(int i,
java.io.Reader x,
int length)
throws java.sql.SQLException
java.sql.SQLException
public void setClob(int i,
java.sql.Clob x)
throws java.sql.SQLException
java.sql.SQLException
public void setNull(int i,
int t,
java.lang.String s)
throws java.sql.SQLException
java.sql.SQLException
public void setRef(int i,
java.sql.Ref x)
throws java.sql.SQLException
java.sql.SQLException
public void setDate(int i,
java.sql.Date d,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void setTime(int i,
java.sql.Time t,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void setTimestamp(int i,
java.sql.Timestamp t,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Array getArray(int i)
throws java.sql.SQLException
java.sql.SQLException
public java.math.BigDecimal getBigDecimal(int parameterIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Blob getBlob(int i)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Clob getClob(int i)
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object getObjectImpl(int i,
java.util.Map map)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Ref getRef(int i)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Date getDate(int i,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Time getTime(int i,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.Timestamp getTimestamp(int i,
java.util.Calendar cal)
throws java.sql.SQLException
java.sql.SQLException
public void registerOutParameter(int parameterIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||