@Deprecated public class ThinPreparedStatement extends ThinStatement implements PreparedStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
ThinPreparedStatement(ThinConnection connection,
String sql)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch()
Deprecated.
|
void |
analyzeSql()
Deprecated.
|
void |
clearParameters()
Deprecated.
|
boolean |
execute()
Deprecated.
|
ResultSet |
executeQuery()
Deprecated.
|
int |
executeUpdate()
Deprecated.
|
ResultSetMetaData |
getMetaData()
Deprecated.
|
Object[] |
getParamData()
Deprecated.
|
ParameterMetaData |
getParameterMetaData()
Deprecated.
|
ValueMetaInterface[] |
getParamMeta()
Deprecated.
|
String |
getSql()
Deprecated.
|
String |
replaceSql()
Deprecated.
|
void |
setArray(int nr,
Array value)
Deprecated.
|
void |
setAsciiStream(int nr,
InputStream value)
Deprecated.
|
void |
setAsciiStream(int nr,
InputStream value,
int arg2)
Deprecated.
|
void |
setAsciiStream(int nr,
InputStream value,
long arg2)
Deprecated.
|
void |
setBigDecimal(int nr,
BigDecimal value)
Deprecated.
|
void |
setBinaryStream(int nr,
InputStream value)
Deprecated.
|
void |
setBinaryStream(int nr,
InputStream value,
int arg2)
Deprecated.
|
void |
setBinaryStream(int nr,
InputStream value,
long arg2)
Deprecated.
|
void |
setBlob(int nr,
Blob value)
Deprecated.
|
void |
setBlob(int nr,
InputStream value)
Deprecated.
|
void |
setBlob(int nr,
InputStream value,
long arg2)
Deprecated.
|
void |
setBoolean(int nr,
boolean value)
Deprecated.
|
void |
setByte(int nr,
byte value)
Deprecated.
|
void |
setBytes(int nr,
byte[] value)
Deprecated.
|
void |
setCharacterStream(int nr,
Reader value)
Deprecated.
|
void |
setCharacterStream(int nr,
Reader value,
int arg2)
Deprecated.
|
void |
setCharacterStream(int nr,
Reader value,
long arg2)
Deprecated.
|
void |
setClob(int nr,
Clob value)
Deprecated.
|
void |
setClob(int nr,
Reader value)
Deprecated.
|
void |
setClob(int nr,
Reader value,
long arg2)
Deprecated.
|
void |
setDate(int nr,
Date value)
Deprecated.
|
void |
setDate(int nr,
Date value,
Calendar calendar)
Deprecated.
|
void |
setDouble(int nr,
double value)
Deprecated.
|
void |
setFloat(int nr,
float value)
Deprecated.
|
void |
setInt(int nr,
int value)
Deprecated.
|
void |
setLong(int nr,
long value)
Deprecated.
|
void |
setNCharacterStream(int nr,
Reader value)
Deprecated.
|
void |
setNCharacterStream(int nr,
Reader value,
long arg2)
Deprecated.
|
void |
setNClob(int nr,
NClob value)
Deprecated.
|
void |
setNClob(int nr,
Reader value)
Deprecated.
|
void |
setNClob(int nr,
Reader value,
long arg2)
Deprecated.
|
void |
setNString(int nr,
String value)
Deprecated.
|
void |
setNull(int nr,
int sqlType)
Deprecated.
|
void |
setNull(int nr,
int value,
String arg2)
Deprecated.
|
void |
setObject(int nr,
Object value)
Deprecated.
|
void |
setObject(int nr,
Object value,
int arg2)
Deprecated.
|
void |
setObject(int nr,
Object value,
int arg2,
int arg3)
Deprecated.
|
void |
setRef(int nr,
Ref value)
Deprecated.
|
void |
setRowId(int nr,
RowId value)
Deprecated.
|
void |
setShort(int nr,
short value)
Deprecated.
|
void |
setSql(String sql)
Deprecated.
|
void |
setSQLXML(int nr,
SQLXML value)
Deprecated.
|
void |
setString(int nr,
String value)
Deprecated.
|
void |
setTime(int nr,
Time value)
Deprecated.
|
void |
setTime(int nr,
Time value,
Calendar arg2)
Deprecated.
|
void |
setTimestamp(int nr,
Timestamp value)
Deprecated.
|
void |
setTimestamp(int nr,
Timestamp value,
Calendar arg2)
Deprecated.
|
void |
setUnicodeStream(int nr,
InputStream value,
int arg2)
Deprecated.
|
void |
setURL(int nr,
URL value)
Deprecated.
|
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, 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, isClosed, isCloseOnCompletion, isPoolable, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrapequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, 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, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrappublic ThinPreparedStatement(ThinConnection connection, String sql) throws SQLException
SQLExceptionpublic void analyzeSql()
throws SQLException
SQLExceptionpublic String replaceSql() throws SQLException
SQLExceptionpublic void addBatch()
throws SQLException
addBatch in interface PreparedStatementSQLExceptionpublic void clearParameters()
throws SQLException
clearParameters in interface PreparedStatementSQLExceptionpublic boolean execute()
throws SQLException
execute in interface PreparedStatementSQLExceptionpublic ResultSet executeQuery() throws SQLException
executeQuery in interface PreparedStatementSQLExceptionpublic int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface PreparedStatementSQLExceptionpublic ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData in interface PreparedStatementSQLExceptionpublic void setArray(int nr,
Array value)
throws SQLException
setArray in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int nr,
InputStream value)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int nr,
InputStream value,
int arg2)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int nr,
InputStream value,
long arg2)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setBigDecimal(int nr,
BigDecimal value)
throws SQLException
setBigDecimal in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int nr,
InputStream value)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int nr,
InputStream value,
int arg2)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int nr,
InputStream value,
long arg2)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBlob(int nr,
Blob value)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBlob(int nr,
InputStream value)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBlob(int nr,
InputStream value,
long arg2)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBoolean(int nr,
boolean value)
throws SQLException
setBoolean in interface PreparedStatementSQLExceptionpublic void setByte(int nr,
byte value)
throws SQLException
setByte in interface PreparedStatementSQLExceptionpublic void setBytes(int nr,
byte[] value)
throws SQLException
setBytes in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int nr,
Reader value)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int nr,
Reader value,
int arg2)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int nr,
Reader value,
long arg2)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setClob(int nr,
Clob value)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setClob(int nr,
Reader value)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setClob(int nr,
Reader value,
long arg2)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setDate(int nr,
Date value)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setDate(int nr,
Date value,
Calendar calendar)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setDouble(int nr,
double value)
throws SQLException
setDouble in interface PreparedStatementSQLExceptionpublic void setFloat(int nr,
float value)
throws SQLException
setFloat in interface PreparedStatementSQLExceptionpublic void setInt(int nr,
int value)
throws SQLException
setInt in interface PreparedStatementSQLExceptionpublic void setLong(int nr,
long value)
throws SQLException
setLong in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int nr,
Reader value)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int nr,
Reader value,
long arg2)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNClob(int nr,
NClob value)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNClob(int nr,
Reader value)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNClob(int nr,
Reader value,
long arg2)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNString(int nr,
String value)
throws SQLException
setNString in interface PreparedStatementSQLExceptionpublic void setNull(int nr,
int sqlType)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setNull(int nr,
int value,
String arg2)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setObject(int nr,
Object value)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int nr,
Object value,
int arg2)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int nr,
Object value,
int arg2,
int arg3)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setRef(int nr,
Ref value)
throws SQLException
setRef in interface PreparedStatementSQLExceptionpublic void setRowId(int nr,
RowId value)
throws SQLException
setRowId in interface PreparedStatementSQLExceptionpublic void setSQLXML(int nr,
SQLXML value)
throws SQLException
setSQLXML in interface PreparedStatementSQLExceptionpublic void setShort(int nr,
short value)
throws SQLException
setShort in interface PreparedStatementSQLExceptionpublic void setString(int nr,
String value)
throws SQLException
setString in interface PreparedStatementSQLExceptionpublic void setTime(int nr,
Time value)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTime(int nr,
Time value,
Calendar arg2)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTimestamp(int nr,
Timestamp value)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setTimestamp(int nr,
Timestamp value,
Calendar arg2)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setURL(int nr,
URL value)
throws SQLException
setURL in interface PreparedStatementSQLException@Deprecated public void setUnicodeStream(int nr, InputStream value, int arg2) throws SQLException
setUnicodeStream in interface PreparedStatementSQLExceptionpublic String getSql()
public void setSql(String sql)
sql - the sql to setpublic ValueMetaInterface[] getParamMeta()
public Object[] getParamData()