public class PreparedStatementWrapper extends StatementWrapper implements PreparedStatement
| Constructor and Description |
|---|
PreparedStatementWrapper(PreparedStatement preparedStatement) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBatch() |
void |
clearParameters() |
boolean |
execute() |
ResultSet |
executeQuery() |
int |
executeUpdate() |
ResultSetMetaData |
getMetaData() |
ParameterMetaData |
getParameterMetaData() |
void |
setArray(int parameterIndex,
Array array) |
void |
setAsciiStream(int parameterIndex,
InputStream inputStream) |
void |
setAsciiStream(int parameterIndex,
InputStream inputStream,
int length) |
void |
setAsciiStream(int parameterIndex,
InputStream inputStream,
long length) |
void |
setBigDecimal(int parameterIndex,
BigDecimal bigDecimal) |
void |
setBinaryStream(int parameterIndex,
InputStream inputStream) |
void |
setBinaryStream(int parameterIndex,
InputStream inputStream,
int length) |
void |
setBinaryStream(int parameterIndex,
InputStream inputStream,
long length) |
void |
setBlob(int parameterIndex,
Blob blob) |
void |
setBlob(int parameterIndex,
InputStream inputStream) |
void |
setBlob(int parameterIndex,
InputStream inputStream,
long length) |
void |
setBoolean(int parameterIndex,
boolean booleanValue) |
void |
setByte(int parameterIndex,
byte byteValue) |
void |
setBytes(int parameterIndex,
byte[] bytes) |
void |
setCharacterStream(int parameterIndex,
Reader reader) |
void |
setCharacterStream(int parameterIndex,
Reader reader,
int length) |
void |
setCharacterStream(int parameterIndex,
Reader reader,
long length) |
void |
setClob(int parameterIndex,
Clob clob) |
void |
setClob(int parameterIndex,
Reader reader) |
void |
setClob(int parameterIndex,
Reader reader,
long length) |
void |
setDate(int parameterIndex,
Date date) |
void |
setDate(int parameterIndex,
Date date,
Calendar calendar) |
void |
setDouble(int parameterIndex,
double doubleValue) |
void |
setFloat(int parameterIndex,
float floatValue) |
void |
setInt(int parameterIndex,
int intValue) |
void |
setLong(int parameterIndex,
long longValue) |
void |
setNCharacterStream(int parameterIndex,
Reader reader) |
void |
setNCharacterStream(int parameterIndex,
Reader reader,
long length) |
void |
setNClob(int parameterIndex,
NClob nClob) |
void |
setNClob(int parameterIndex,
Reader reader) |
void |
setNClob(int parameterIndex,
Reader reader,
long length) |
void |
setNString(int parameterIndex,
String stringValue) |
void |
setNull(int parameterIndex,
int sqlType) |
void |
setNull(int parameterIndex,
int sqlType,
String typeName) |
void |
setObject(int parameterIndex,
Object object) |
void |
setObject(int parameterIndex,
Object object,
int targetSQLType) |
void |
setObject(int parameterIndex,
Object object,
int targetSQLType,
int scaleOrLength) |
void |
setRef(int parameterIndex,
Ref ref) |
void |
setRowId(int parameterIndex,
RowId rowId) |
void |
setShort(int parameterIndex,
short shortValue) |
void |
setSQLXML(int parameterIndex,
SQLXML sqlXML) |
void |
setString(int parameterIndex,
String stringValue) |
void |
setTime(int parameterIndex,
Time time) |
void |
setTime(int parameterIndex,
Time time,
Calendar calendar) |
void |
setTimestamp(int parameterIndex,
Timestamp timestamp) |
void |
setTimestamp(int parameterIndex,
Timestamp timestamp,
Calendar calendar) |
void |
setUnicodeStream(int parameterIndex,
InputStream inputStream,
int length) |
void |
setURL(int parameterIndex,
URL url) |
<T> T |
unwrap(Class<T> clazz) |
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, setQueryTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutpublic PreparedStatementWrapper(PreparedStatement preparedStatement)
public 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 parameterIndex,
Array array)
throws SQLException
setArray in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int parameterIndex,
InputStream inputStream)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int parameterIndex,
InputStream inputStream,
int length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int parameterIndex,
InputStream inputStream,
long length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setBigDecimal(int parameterIndex,
BigDecimal bigDecimal)
throws SQLException
setBigDecimal in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int parameterIndex,
InputStream inputStream)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int parameterIndex,
InputStream inputStream,
int length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int parameterIndex,
InputStream inputStream,
long length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setBlob(int parameterIndex,
Blob blob)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBlob(int parameterIndex,
InputStream inputStream)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBlob(int parameterIndex,
InputStream inputStream,
long length)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setBoolean(int parameterIndex,
boolean booleanValue)
throws SQLException
setBoolean in interface PreparedStatementSQLExceptionpublic void setByte(int parameterIndex,
byte byteValue)
throws SQLException
setByte in interface PreparedStatementSQLExceptionpublic void setBytes(int parameterIndex,
byte[] bytes)
throws SQLException
setBytes in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int parameterIndex,
Reader reader)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int parameterIndex,
Reader reader,
int length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int parameterIndex,
Reader reader,
long length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setClob(int parameterIndex,
Clob clob)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setClob(int parameterIndex,
Reader reader)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setClob(int parameterIndex,
Reader reader,
long length)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setDate(int parameterIndex,
Date date)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setDate(int parameterIndex,
Date date,
Calendar calendar)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setDouble(int parameterIndex,
double doubleValue)
throws SQLException
setDouble in interface PreparedStatementSQLExceptionpublic void setFloat(int parameterIndex,
float floatValue)
throws SQLException
setFloat in interface PreparedStatementSQLExceptionpublic void setInt(int parameterIndex,
int intValue)
throws SQLException
setInt in interface PreparedStatementSQLExceptionpublic void setLong(int parameterIndex,
long longValue)
throws SQLException
setLong in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int parameterIndex,
Reader reader)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int parameterIndex,
Reader reader,
long length)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNClob(int parameterIndex,
NClob nClob)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNClob(int parameterIndex,
Reader reader)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNClob(int parameterIndex,
Reader reader,
long length)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setNString(int parameterIndex,
String stringValue)
throws SQLException
setNString in interface PreparedStatementSQLExceptionpublic void setNull(int parameterIndex,
int sqlType)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setNull(int parameterIndex,
int sqlType,
String typeName)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setObject(int parameterIndex,
Object object)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int parameterIndex,
Object object,
int targetSQLType)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int parameterIndex,
Object object,
int targetSQLType,
int scaleOrLength)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setRef(int parameterIndex,
Ref ref)
throws SQLException
setRef in interface PreparedStatementSQLExceptionpublic void setRowId(int parameterIndex,
RowId rowId)
throws SQLException
setRowId in interface PreparedStatementSQLExceptionpublic void setShort(int parameterIndex,
short shortValue)
throws SQLException
setShort in interface PreparedStatementSQLExceptionpublic void setSQLXML(int parameterIndex,
SQLXML sqlXML)
throws SQLException
setSQLXML in interface PreparedStatementSQLExceptionpublic void setString(int parameterIndex,
String stringValue)
throws SQLException
setString in interface PreparedStatementSQLExceptionpublic void setTime(int parameterIndex,
Time time)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTime(int parameterIndex,
Time time,
Calendar calendar)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTimestamp(int parameterIndex,
Timestamp timestamp)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setTimestamp(int parameterIndex,
Timestamp timestamp,
Calendar calendar)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setUnicodeStream(int parameterIndex,
InputStream inputStream,
int length)
throws SQLException
setUnicodeStream in interface PreparedStatementSQLExceptionpublic void setURL(int parameterIndex,
URL url)
throws SQLException
setURL in interface PreparedStatementSQLExceptionpublic <T> T unwrap(Class<T> clazz)
throws SQLException
unwrap in interface Wrapperunwrap in class StatementWrapperSQLException