public interface SQLPreparedStatement extends SQLStatement, PreparedStatement, Logging
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Modifier and Type | Method and Description |
|---|---|
default void |
addBatch() |
default void |
clearParameters() |
default boolean |
execute() |
default long |
executeLargeUpdate() |
default ResultSet |
executeQuery() |
default int |
executeUpdate() |
default ResultSetMetaData |
getMetaData() |
default ParameterMetaData |
getParameterMetaData() |
default void |
setArray(int parameterIndex,
Array x) |
default void |
setAsciiStream(int parameterIndex,
InputStream x) |
default void |
setAsciiStream(int parameterIndex,
InputStream x,
int length) |
default void |
setAsciiStream(int parameterIndex,
InputStream x,
long length) |
default void |
setBigDecimal(int parameterIndex,
BigDecimal x) |
default void |
setBinaryStream(int parameterIndex,
InputStream x) |
default void |
setBinaryStream(int parameterIndex,
InputStream x,
int length) |
default void |
setBinaryStream(int parameterIndex,
InputStream x,
long length) |
default void |
setBlob(int parameterIndex,
Blob x) |
default void |
setBlob(int parameterIndex,
InputStream inputStream) |
default void |
setBlob(int parameterIndex,
InputStream inputStream,
long length) |
default void |
setBoolean(int parameterIndex,
boolean x) |
default void |
setByte(int parameterIndex,
byte x) |
default void |
setBytes(int parameterIndex,
byte[] x) |
default void |
setCharacterStream(int parameterIndex,
Reader reader) |
default void |
setCharacterStream(int parameterIndex,
Reader reader,
int length) |
default void |
setCharacterStream(int parameterIndex,
Reader reader,
long length) |
default void |
setClob(int parameterIndex,
Clob x) |
default void |
setClob(int parameterIndex,
Reader reader) |
default void |
setClob(int parameterIndex,
Reader reader,
long length) |
default void |
setDate(int parameterIndex,
Date x) |
default void |
setDate(int parameterIndex,
Date x,
Calendar cal) |
default void |
setDouble(int parameterIndex,
double x) |
default void |
setFloat(int parameterIndex,
float x) |
default void |
setInt(int parameterIndex,
int x) |
default void |
setLong(int parameterIndex,
long x) |
default void |
setNCharacterStream(int parameterIndex,
Reader value) |
default void |
setNCharacterStream(int parameterIndex,
Reader value,
long length) |
default void |
setNClob(int parameterIndex,
NClob value) |
default void |
setNClob(int parameterIndex,
Reader reader) |
default void |
setNClob(int parameterIndex,
Reader reader,
long length) |
default void |
setNString(int parameterIndex,
String value) |
default void |
setNull(int parameterIndex,
int sqlType) |
default void |
setNull(int parameterIndex,
int sqlType,
String typeName) |
default void |
setObject(int parameterIndex,
Object x) |
default void |
setObject(int parameterIndex,
Object x,
int targetSqlType) |
default void |
setObject(int parameterIndex,
Object x,
int targetSqlType,
int scaleOrLength) |
default void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType) |
default void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
default void |
setRef(int parameterIndex,
Ref x) |
default void |
setRowId(int parameterIndex,
RowId x) |
default void |
setShort(int parameterIndex,
short x) |
default void |
setSQLXML(int parameterIndex,
SQLXML xmlObject) |
default void |
setString(int parameterIndex,
String x) |
default void |
setTime(int parameterIndex,
Time x) |
default void |
setTime(int parameterIndex,
Time x,
Calendar cal) |
default void |
setTimestamp(int parameterIndex,
Timestamp x) |
default void |
setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal) |
default void |
setUnicodeStream(int parameterIndex,
InputStream x,
int length)
Deprecated.
|
default void |
setURL(int parameterIndex,
URL x) |
addBatch, 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, unwrapdefault ResultSet executeQuery() throws SQLException
executeQuery in interface PreparedStatementSQLExceptiondefault int executeUpdate()
throws SQLException
executeUpdate in interface PreparedStatementSQLExceptiondefault void setNull(int parameterIndex,
int sqlType)
throws SQLException
setNull in interface PreparedStatementSQLExceptiondefault void setBoolean(int parameterIndex,
boolean x)
throws SQLException
setBoolean in interface PreparedStatementSQLExceptiondefault void setByte(int parameterIndex,
byte x)
throws SQLException
setByte in interface PreparedStatementSQLExceptiondefault void setShort(int parameterIndex,
short x)
throws SQLException
setShort in interface PreparedStatementSQLExceptiondefault void setInt(int parameterIndex,
int x)
throws SQLException
setInt in interface PreparedStatementSQLExceptiondefault void setLong(int parameterIndex,
long x)
throws SQLException
setLong in interface PreparedStatementSQLExceptiondefault void setFloat(int parameterIndex,
float x)
throws SQLException
setFloat in interface PreparedStatementSQLExceptiondefault void setDouble(int parameterIndex,
double x)
throws SQLException
setDouble in interface PreparedStatementSQLExceptiondefault void setBigDecimal(int parameterIndex,
BigDecimal x)
throws SQLException
setBigDecimal in interface PreparedStatementSQLExceptiondefault void setString(int parameterIndex,
String x)
throws SQLException
setString in interface PreparedStatementSQLExceptiondefault void setBytes(int parameterIndex,
byte[] x)
throws SQLException
setBytes in interface PreparedStatementSQLExceptiondefault void setDate(int parameterIndex,
Date x)
throws SQLException
setDate in interface PreparedStatementSQLExceptiondefault void setTime(int parameterIndex,
Time x)
throws SQLException
setTime in interface PreparedStatementSQLExceptiondefault void setTimestamp(int parameterIndex,
Timestamp x)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptiondefault void setAsciiStream(int parameterIndex,
InputStream x,
int length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLException@Deprecated default void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
setUnicodeStream in interface PreparedStatementSQLExceptiondefault void setBinaryStream(int parameterIndex,
InputStream x,
int length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptiondefault void clearParameters()
throws SQLException
clearParameters in interface PreparedStatementSQLExceptiondefault void setObject(int parameterIndex,
Object x,
int targetSqlType)
throws SQLException
setObject in interface PreparedStatementSQLExceptiondefault void setObject(int parameterIndex,
Object x)
throws SQLException
setObject in interface PreparedStatementSQLExceptiondefault boolean execute()
throws SQLException
execute in interface PreparedStatementSQLExceptiondefault void addBatch()
throws SQLException
addBatch in interface PreparedStatementSQLExceptiondefault void setCharacterStream(int parameterIndex,
Reader reader,
int length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptiondefault void setRef(int parameterIndex,
Ref x)
throws SQLException
setRef in interface PreparedStatementSQLExceptiondefault void setBlob(int parameterIndex,
Blob x)
throws SQLException
setBlob in interface PreparedStatementSQLExceptiondefault void setClob(int parameterIndex,
Clob x)
throws SQLException
setClob in interface PreparedStatementSQLExceptiondefault void setArray(int parameterIndex,
Array x)
throws SQLException
setArray in interface PreparedStatementSQLExceptiondefault ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface PreparedStatementSQLExceptiondefault void setDate(int parameterIndex,
Date x,
Calendar cal)
throws SQLException
setDate in interface PreparedStatementSQLExceptiondefault void setTime(int parameterIndex,
Time x,
Calendar cal)
throws SQLException
setTime in interface PreparedStatementSQLExceptiondefault void setTimestamp(int parameterIndex,
Timestamp x,
Calendar cal)
throws SQLException
setTimestamp in interface PreparedStatementSQLExceptiondefault void setNull(int parameterIndex,
int sqlType,
String typeName)
throws SQLException
setNull in interface PreparedStatementSQLExceptiondefault void setURL(int parameterIndex,
URL x)
throws SQLException
setURL in interface PreparedStatementSQLExceptiondefault ParameterMetaData getParameterMetaData() throws SQLException
getParameterMetaData in interface PreparedStatementSQLExceptiondefault void setRowId(int parameterIndex,
RowId x)
throws SQLException
setRowId in interface PreparedStatementSQLExceptiondefault void setNString(int parameterIndex,
String value)
throws SQLException
setNString in interface PreparedStatementSQLExceptiondefault void setNCharacterStream(int parameterIndex,
Reader value,
long length)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptiondefault void setNClob(int parameterIndex,
NClob value)
throws SQLException
setNClob in interface PreparedStatementSQLExceptiondefault void setClob(int parameterIndex,
Reader reader,
long length)
throws SQLException
setClob in interface PreparedStatementSQLExceptiondefault void setBlob(int parameterIndex,
InputStream inputStream,
long length)
throws SQLException
setBlob in interface PreparedStatementSQLExceptiondefault void setNClob(int parameterIndex,
Reader reader,
long length)
throws SQLException
setNClob in interface PreparedStatementSQLExceptiondefault void setSQLXML(int parameterIndex,
SQLXML xmlObject)
throws SQLException
setSQLXML in interface PreparedStatementSQLExceptiondefault void setObject(int parameterIndex,
Object x,
int targetSqlType,
int scaleOrLength)
throws SQLException
setObject in interface PreparedStatementSQLExceptiondefault void setAsciiStream(int parameterIndex,
InputStream x,
long length)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptiondefault void setBinaryStream(int parameterIndex,
InputStream x,
long length)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptiondefault void setCharacterStream(int parameterIndex,
Reader reader,
long length)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptiondefault void setAsciiStream(int parameterIndex,
InputStream x)
throws SQLException
setAsciiStream in interface PreparedStatementSQLExceptiondefault void setBinaryStream(int parameterIndex,
InputStream x)
throws SQLException
setBinaryStream in interface PreparedStatementSQLExceptiondefault void setCharacterStream(int parameterIndex,
Reader reader)
throws SQLException
setCharacterStream in interface PreparedStatementSQLExceptiondefault void setNCharacterStream(int parameterIndex,
Reader value)
throws SQLException
setNCharacterStream in interface PreparedStatementSQLExceptiondefault void setClob(int parameterIndex,
Reader reader)
throws SQLException
setClob in interface PreparedStatementSQLExceptiondefault void setBlob(int parameterIndex,
InputStream inputStream)
throws SQLException
setBlob in interface PreparedStatementSQLExceptiondefault void setNClob(int parameterIndex,
Reader reader)
throws SQLException
setNClob in interface PreparedStatementSQLExceptiondefault void setObject(int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength)
throws SQLException
setObject in interface PreparedStatementSQLExceptiondefault void setObject(int parameterIndex,
Object x,
SQLType targetSqlType)
throws SQLException
setObject in interface PreparedStatementSQLExceptiondefault long executeLargeUpdate()
throws SQLException
executeLargeUpdate in interface PreparedStatementSQLExceptionCopyright © 2021. All rights reserved.