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_INFOC_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, setQueryTimeoutclone, debug, debug, equals_n, equals_n2, getBooleanProperty, getBooleanProperty, getGroupedProperties, getIntProperty, getIntProperty, getLog, getLongProperty, getLongProperty, getProperties, getPropertiesForMe, getProperty, getProperty, getShortProperty, getShortProperty, setLog, setNgmObject, setProperties, sysoutprintlnequals, 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, isCloseOnCompletion, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setQueryTimeoutpublic java.sql.ResultSet executeQuery()
throws java.sql.SQLException
NullResultSet.executeQuery インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
executeUpdate インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int parameterIndex,
int sqlType)
throws java.sql.SQLException
setNull インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBoolean(int parameterIndex,
boolean x)
throws java.sql.SQLException
setBoolean インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setByte(int parameterIndex,
byte x)
throws java.sql.SQLException
setByte インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setShort(int parameterIndex,
short x)
throws java.sql.SQLException
setShort インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setInt(int parameterIndex,
int x)
throws java.sql.SQLException
setInt インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setLong(int parameterIndex,
long x)
throws java.sql.SQLException
setLong インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setFloat(int parameterIndex,
float x)
throws java.sql.SQLException
setFloat インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDouble(int parameterIndex,
double x)
throws java.sql.SQLException
setDouble インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
setBigDecimal インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setString(int parameterIndex,
java.lang.String x)
throws java.sql.SQLException
setString インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBytes(int parameterIndex,
byte[] x)
throws java.sql.SQLException
setBytes インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int parameterIndex,
java.sql.Date x)
throws java.sql.SQLException
setDate インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int parameterIndex,
java.sql.Time x)
throws java.sql.SQLException
setTime インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int parameterIndex,
java.sql.Timestamp x)
throws java.sql.SQLException
setTimestamp インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
setAsciiStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
setUnicodeStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int parameterIndex,
java.io.InputStream x,
int length)
throws java.sql.SQLException
setBinaryStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void clearParameters()
throws java.sql.SQLException
clearParameters インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType,
int scale)
throws java.sql.SQLException
setObject インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x,
int targetSqlType)
throws java.sql.SQLException
setObject インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setObject(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
setObject インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean execute()
throws java.sql.SQLException
execute インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void addBatch()
throws java.sql.SQLException
addBatch インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
throws java.sql.SQLException
setCharacterStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRef(int i,
java.sql.Ref x)
throws java.sql.SQLException
setRef インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int i,
java.sql.Blob x)
throws java.sql.SQLException
setBlob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int i,
java.sql.Clob x)
throws java.sql.SQLException
setClob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
setArray インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
throws java.sql.SQLException
setDate インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
throws java.sql.SQLException
setTime インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
throws java.sql.SQLException
setTimestamp インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNull(int paramIndex,
int sqlType,
java.lang.String typeName)
throws java.sql.SQLException
setNull インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setURL(int parameterIndex,
java.net.URL x)
throws java.sql.SQLException
setURL インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
getParameterMetaData インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
isClosed インタフェース内 java.sql.StatementisClosed クラス内 NullStatementjava.sql.SQLExceptionpublic boolean isPoolable()
throws java.sql.SQLException
isPoolable インタフェース内 java.sql.StatementisPoolable クラス内 NullStatementjava.sql.SQLExceptionpublic void setPoolable(boolean poolable)
throws java.sql.SQLException
setPoolable インタフェース内 java.sql.StatementsetPoolable クラス内 NullStatementjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor インタフェース内 java.sql.WrapperisWrapperFor クラス内 NullStatementjava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap インタフェース内 java.sql.Wrapperunwrap クラス内 NullStatementjava.sql.SQLExceptionpublic void setAsciiStream(int parameterIndex,
java.io.InputStream x,
long length)
throws java.sql.SQLException
setAsciiStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setAsciiStream(int parameterIndex,
java.io.InputStream x)
throws java.sql.SQLException
setAsciiStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int parameterIndex,
java.io.InputStream x,
long length)
throws java.sql.SQLException
setBinaryStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBinaryStream(int parameterIndex,
java.io.InputStream x)
throws java.sql.SQLException
setBinaryStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int parameterIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
setBlob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setBlob(int parameterIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
setBlob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int parameterIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
setCharacterStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setCharacterStream(int parameterIndex,
java.io.Reader reader)
throws java.sql.SQLException
setCharacterStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int parameterIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
setClob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setClob(int parameterIndex,
java.io.Reader reader)
throws java.sql.SQLException
setClob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNCharacterStream(int parameterIndex,
java.io.Reader value,
long length)
throws java.sql.SQLException
setNCharacterStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNCharacterStream(int parameterIndex,
java.io.Reader value)
throws java.sql.SQLException
setNCharacterStream インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int parameterIndex,
java.sql.NClob value)
throws java.sql.SQLException
setNClob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int parameterIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
setNClob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNClob(int parameterIndex,
java.io.Reader reader)
throws java.sql.SQLException
setNClob インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setNString(int parameterIndex,
java.lang.String value)
throws java.sql.SQLException
setNString インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setRowId(int parameterIndex,
java.sql.RowId x)
throws java.sql.SQLException
setRowId インタフェース内 java.sql.PreparedStatementjava.sql.SQLExceptionpublic void setSQLXML(int parameterIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
setSQLXML インタフェース内 java.sql.PreparedStatementjava.sql.SQLException