public class NullPreparedStatement extends NullStatement implements java.sql.PreparedStatement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
C_BACKSLASH, C_BLOCK_CLOSE, C_BLOCK_OPEN, C_COMMA, C_CR, C_DOUBLE_BYTE_SPACE, C_DOUBLE_QUATATION, C_DOUBLE_QUOTATION, C_EQUAL, C_HYPHEN, C_LF, C_SINGLE_QUATATION, C_SINGLE_QUOTATION, C_SPACE, C_TAB, S_BACKSLASH, S_BLOCK_CLOSE, S_BLOCK_OPEN, S_COMMA, S_CR, S_CRLF, S_DOUBLE_QUATATION, S_DOUBLE_QUOTATION, S_EQUAL, S_HYPHEN, S_LF, S_SINGLE_QUATATION, S_SINGLE_QUOTATION, S_SPACE, S_TAB
コンストラクタと説明 |
---|
NullPreparedStatement() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addBatch()
Throws SQLException.
|
void |
clearParameters()
Throws SQLException.
|
boolean |
execute()
Throws SQLException.
|
java.sql.ResultSet |
executeQuery()
returns
NullResultSet . |
int |
executeUpdate()
Throws SQLException.
|
java.sql.ResultSetMetaData |
getMetaData()
Throws SQLException.
|
java.sql.ParameterMetaData |
getParameterMetaData()
Throws SQLException.
|
boolean |
isClosed()
Throws SQLException.
|
boolean |
isPoolable()
Throws SQLException.
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
Throws SQLException.
|
void |
setArray(int i,
java.sql.Array x)
Throws SQLException.
|
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x)
Throws SQLException.
|
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
Throws SQLException.
|
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x,
long length)
Throws SQLException.
|
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
Throws SQLException.
|
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x)
Throws SQLException.
|
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
Throws SQLException.
|
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x,
long length)
Throws SQLException.
|
void |
setBlob(int i,
java.sql.Blob x)
Throws SQLException.
|
void |
setBlob(int parameterIndex,
java.io.InputStream inputStream)
Throws SQLException.
|
void |
setBlob(int parameterIndex,
java.io.InputStream inputStream,
long length)
Throws SQLException.
|
void |
setBoolean(int parameterIndex,
boolean x)
Throws SQLException.
|
void |
setByte(int parameterIndex,
byte x)
Throws SQLException.
|
void |
setBytes(int parameterIndex,
byte[] x)
Throws SQLException.
|
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader)
Throws SQLException.
|
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
Throws SQLException.
|
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader,
long length)
Throws SQLException.
|
void |
setClob(int i,
java.sql.Clob x)
Throws SQLException.
|
void |
setClob(int parameterIndex,
java.io.Reader reader)
Throws SQLException.
|
void |
setClob(int parameterIndex,
java.io.Reader reader,
long length)
Throws SQLException.
|
void |
setDate(int parameterIndex,
java.sql.Date x)
Throws SQLException.
|
void |
setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
Throws SQLException.
|
void |
setDouble(int parameterIndex,
double x)
Throws SQLException.
|
void |
setFloat(int parameterIndex,
float x)
Throws SQLException.
|
void |
setInt(int parameterIndex,
int x)
Throws SQLException.
|
void |
setLong(int parameterIndex,
long x)
Throws SQLException.
|
void |
setNCharacterStream(int parameterIndex,
java.io.Reader value)
Throws SQLException.
|
void |
setNCharacterStream(int parameterIndex,
java.io.Reader value,
long length)
Throws SQLException.
|
void |
setNClob(int parameterIndex,
java.sql.NClob value)
Throws SQLException.
|
void |
setNClob(int parameterIndex,
java.io.Reader reader)
Throws SQLException.
|
void |
setNClob(int parameterIndex,
java.io.Reader reader,
long length)
Throws SQLException.
|
void |
setNString(int parameterIndex,
java.lang.String value)
Throws SQLException.
|
void |
setNull(int parameterIndex,
int sqlType)
Throws SQLException.
|
void |
setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
Throws SQLException.
|
void |
setObject(int parameterIndex,
java.lang.Object x)
Throws SQLException.
|
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
Throws SQLException.
|
void |
setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scale)
Throws SQLException.
|
void |
setPoolable(boolean poolable)
Throws SQLException.
|
void |
setRef(int i,
java.sql.Ref x)
Throws SQLException.
|
void |
setRowId(int parameterIndex,
java.sql.RowId x)
Throws SQLException.
|
void |
setShort(int parameterIndex,
short x)
Throws SQLException.
|
void |
setSQLXML(int parameterIndex,
java.sql.SQLXML xmlObject)
Throws SQLException.
|
void |
setString(int parameterIndex,
java.lang.String x)
Throws SQLException.
|
void |
setTime(int parameterIndex,
java.sql.Time x)
Throws SQLException.
|
void |
setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
Throws SQLException.
|
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x)
Throws SQLException.
|
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
Throws SQLException.
|
void |
setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
Throws SQLException.
|
void |
setURL(int parameterIndex,
java.net.URL x)
Throws SQLException.
|
<T> T |
unwrap(java.lang.Class<T> iface)
Throws SQLException.
|
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, isCloseOnCompletion, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
clone, debug, debug, equals_n, equals_n2, getBooleanProperty, getBooleanProperty, getGroupedProperties, getIntProperty, getIntProperty, getLog, getLongProperty, getLongProperty, getProperties, getPropertiesForMe, getProperty, getProperty, getShortProperty, getShortProperty, setLog, setNgmObject, setProperties, sysoutprintln
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, isCloseOnCompletion, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setQueryTimeout
public java.sql.ResultSet executeQuery() throws java.sql.SQLException
NullResultSet
.executeQuery
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public int executeUpdate() throws java.sql.SQLException
executeUpdate
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNull(int parameterIndex, int sqlType) throws java.sql.SQLException
setNull
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBoolean(int parameterIndex, boolean x) throws java.sql.SQLException
setBoolean
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setByte(int parameterIndex, byte x) throws java.sql.SQLException
setByte
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setShort(int parameterIndex, short x) throws java.sql.SQLException
setShort
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setInt(int parameterIndex, int x) throws java.sql.SQLException
setInt
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setLong(int parameterIndex, long x) throws java.sql.SQLException
setLong
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setFloat(int parameterIndex, float x) throws java.sql.SQLException
setFloat
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setDouble(int parameterIndex, double x) throws java.sql.SQLException
setDouble
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws java.sql.SQLException
setBigDecimal
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setString(int parameterIndex, java.lang.String x) throws java.sql.SQLException
setString
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBytes(int parameterIndex, byte[] x) throws java.sql.SQLException
setBytes
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setDate(int parameterIndex, java.sql.Date x) throws java.sql.SQLException
setDate
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time x) throws java.sql.SQLException
setTime
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws java.sql.SQLException
setTimestamp
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
setAsciiStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
setUnicodeStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
setBinaryStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void clearParameters() throws java.sql.SQLException
clearParameters
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType, int scale) throws java.sql.SQLException
setObject
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, int targetSqlType) throws java.sql.SQLException
setObject
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x) throws java.sql.SQLException
setObject
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public boolean execute() throws java.sql.SQLException
execute
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void addBatch() throws java.sql.SQLException
addBatch
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws java.sql.SQLException
setCharacterStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setRef(int i, java.sql.Ref x) throws java.sql.SQLException
setRef
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBlob(int i, java.sql.Blob x) throws java.sql.SQLException
setBlob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setClob(int i, java.sql.Clob x) throws java.sql.SQLException
setClob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setArray(int i, java.sql.Array x) throws java.sql.SQLException
setArray
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
getMetaData
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
setDate
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
setTime
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
setTimestamp
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNull(int paramIndex, int sqlType, java.lang.String typeName) throws java.sql.SQLException
setNull
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setURL(int parameterIndex, java.net.URL x) throws java.sql.SQLException
setURL
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException
getParameterMetaData
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public boolean isClosed() throws java.sql.SQLException
isClosed
インタフェース内 java.sql.Statement
isClosed
クラス内 NullStatement
java.sql.SQLException
public boolean isPoolable() throws java.sql.SQLException
isPoolable
インタフェース内 java.sql.Statement
isPoolable
クラス内 NullStatement
java.sql.SQLException
public void setPoolable(boolean poolable) throws java.sql.SQLException
setPoolable
インタフェース内 java.sql.Statement
setPoolable
クラス内 NullStatement
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
インタフェース内 java.sql.Wrapper
isWrapperFor
クラス内 NullStatement
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
インタフェース内 java.sql.Wrapper
unwrap
クラス内 NullStatement
java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException
setAsciiStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException
setAsciiStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException
setBinaryStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException
setBinaryStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
setBlob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException
setBlob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
setCharacterStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
setCharacterStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
setClob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
setClob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException
setNCharacterStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException
setNCharacterStream
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException
setNClob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
setNClob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
setNClob
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setNString(int parameterIndex, java.lang.String value) throws java.sql.SQLException
setNString
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException
setRowId
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException
public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
setSQLXML
インタフェース内 java.sql.PreparedStatement
java.sql.SQLException