public class ProxyPreparedStatement extends ProxyStatement implements PreparedStatement
contextCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
ProxyPreparedStatement(LogContext context,
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 index,
Array x) |
void |
setAsciiStream(int index,
InputStream x) |
void |
setAsciiStream(int index,
InputStream x,
int length) |
void |
setAsciiStream(int index,
InputStream x,
long length) |
void |
setBigDecimal(int index,
BigDecimal x) |
void |
setBinaryStream(int index,
InputStream x) |
void |
setBinaryStream(int index,
InputStream x,
int length) |
void |
setBinaryStream(int index,
InputStream x,
long length) |
void |
setBlob(int index,
Blob x) |
void |
setBlob(int index,
InputStream inputStream) |
void |
setBlob(int index,
InputStream inputStream,
long length) |
void |
setBoolean(int index,
boolean x) |
void |
setByte(int index,
byte x) |
void |
setBytes(int index,
byte[] x) |
void |
setCharacterStream(int index,
Reader reader) |
void |
setCharacterStream(int index,
Reader reader,
int length) |
void |
setCharacterStream(int index,
Reader reader,
long length) |
void |
setClob(int index,
Clob x) |
void |
setClob(int index,
Reader reader) |
void |
setClob(int index,
Reader reader,
long length) |
void |
setDate(int index,
Date x) |
void |
setDate(int index,
Date x,
Calendar cal) |
void |
setDouble(int index,
double x) |
void |
setFloat(int index,
float x) |
void |
setInt(int index,
int x) |
void |
setLong(int index,
long x) |
void |
setNCharacterStream(int index,
Reader value) |
void |
setNCharacterStream(int index,
Reader value,
long length) |
void |
setNClob(int index,
NClob value) |
void |
setNClob(int index,
Reader reader) |
void |
setNClob(int index,
Reader reader,
long length) |
void |
setNString(int index,
String value) |
void |
setNull(int index,
int sqlType) |
void |
setNull(int index,
int sqlType,
String typeName) |
void |
setObject(int index,
Object x) |
void |
setObject(int index,
Object x,
int targetSqlType) |
void |
setObject(int index,
Object x,
int targetSqlType,
int scaleOrLength) |
void |
setRef(int index,
Ref x) |
void |
setRowId(int index,
RowId x) |
void |
setShort(int index,
short x) |
void |
setSQLXML(int index,
SQLXML xmlObject) |
void |
setString(int index,
String x) |
void |
setTime(int index,
Time x) |
void |
setTime(int index,
Time x,
Calendar cal) |
void |
setTimestamp(int index,
Timestamp x) |
void |
setTimestamp(int index,
Timestamp x,
Calendar cal) |
void |
setUnicodeStream(int index,
InputStream x,
int length) |
void |
setURL(int index,
URL x) |
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, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteLargeUpdate, setObject, setObjectaddBatch, 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, setQueryTimeoutisWrapperFor, unwrappublic ProxyPreparedStatement(LogContext context, PreparedStatement preparedStatement)
public ResultSet executeQuery() throws SQLException
executeQuery in interface PreparedStatementSQLExceptionpublic int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementSQLExceptionpublic boolean execute()
throws SQLException
execute in interface PreparedStatementSQLExceptionpublic void setNull(int index,
int sqlType)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setBoolean(int index,
boolean x)
throws SQLException
setBoolean in interface PreparedStatementSQLExceptionpublic void setByte(int index,
byte x)
throws SQLException
setByte in interface PreparedStatementSQLExceptionpublic void setShort(int index,
short x)
throws SQLException
setShort in interface PreparedStatementSQLExceptionpublic void setInt(int index,
int x)
throws SQLException
setInt in interface PreparedStatementSQLExceptionpublic void setLong(int index,
long x)
throws SQLException
setLong in interface PreparedStatementSQLExceptionpublic void setFloat(int index,
float x)
throws SQLException
setFloat in interface PreparedStatementSQLExceptionpublic void setDouble(int index,
double x)
throws SQLException
setDouble in interface PreparedStatementSQLExceptionpublic void setBigDecimal(int index,
BigDecimal x)
throws SQLException
setBigDecimal in interface PreparedStatementSQLExceptionpublic void setString(int index,
String x)
throws SQLException
setString in interface PreparedStatementSQLExceptionpublic void setBytes(int index,
byte[] x)
throws SQLException
setBytes in interface PreparedStatementSQLExceptionpublic void setDate(int index,
Date x)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setTime(int index,
Time x)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTimestamp(int index,
Timestamp x)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int index,
InputStream x,
int length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setUnicodeStream(int index,
InputStream x,
int length)
throws SQLException
setUnicodeStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int index,
InputStream x,
int length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setObject(int index,
Object x,
int targetSqlType)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setObject(int index,
Object x)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int index,
Reader reader,
int length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setRef(int index,
Ref x)
throws SQLException
setRef in interface PreparedStatementSQLExceptionpublic void setBlob(int index,
Blob x)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setClob(int index,
Clob x)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setArray(int index,
Array x)
throws SQLException
setArray in interface PreparedStatementSQLExceptionpublic void setDate(int index,
Date x,
Calendar cal)
throws SQLException
setDate in interface PreparedStatementSQLExceptionpublic void setTime(int index,
Time x,
Calendar cal)
throws SQLException
setTime in interface PreparedStatementSQLExceptionpublic void setTimestamp(int index,
Timestamp x,
Calendar cal)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptionpublic void setNull(int index,
int sqlType,
String typeName)
throws SQLException
setNull in interface PreparedStatementSQLExceptionpublic void setURL(int index,
URL x)
throws SQLException
setURL in interface PreparedStatementSQLExceptionpublic void setRowId(int index,
RowId x)
throws SQLException
setRowId in interface PreparedStatementSQLExceptionpublic void setNString(int index,
String value)
throws SQLException
setNString in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int index,
Reader value,
long length)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setNClob(int index,
NClob value)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setClob(int index,
Reader reader,
long length)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setBlob(int index,
InputStream inputStream,
long length)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setNClob(int index,
Reader reader,
long length)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void setSQLXML(int index,
SQLXML xmlObject)
throws SQLException
setSQLXML in interface PreparedStatementSQLExceptionpublic void setObject(int index,
Object x,
int targetSqlType,
int scaleOrLength)
throws SQLException
setObject in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int index,
InputStream x,
long length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int index,
InputStream x,
long length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int index,
Reader reader,
long length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setAsciiStream(int index,
InputStream x)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptionpublic void setBinaryStream(int index,
InputStream x)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptionpublic void setCharacterStream(int index,
Reader reader)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptionpublic void setNCharacterStream(int index,
Reader value)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptionpublic void setClob(int index,
Reader reader)
throws SQLException
setClob in interface PreparedStatementSQLExceptionpublic void setBlob(int index,
InputStream inputStream)
throws SQLException
setBlob in interface PreparedStatementSQLExceptionpublic void setNClob(int index,
Reader reader)
throws SQLException
setNClob in interface PreparedStatementSQLExceptionpublic void clearParameters()
throws SQLException
clearParameters in interface PreparedStatementSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface PreparedStatementSQLExceptionpublic ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData in interface PreparedStatementSQLExceptionpublic void addBatch()
throws SQLException
addBatch in interface PreparedStatementSQLExceptionCopyright © 2016. All rights reserved.